Colour reference

Coffee Brown

#7f5539

RGB
rgb(127 85 57)
HSL
24°, 38%, 36%
OKLCh
48.9% 0.070 54.1

Open in the picker

Coffee Brown in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#7f5539
RGBrgb(127 85 57)
RGB legacyrgb(127, 85, 57)
RGB percentrgb(49.8% 33.33% 22.35%)
HSLhsl(24 38% 36.1%)
HSL legacyhsl(24, 38%, 36.1%)
HSV / HSBhsv(24, 55.1%, 49.8%)
HWBhwb(24 22.4% 50.2%)
Nearest namesaddlebrown (approx.)
CMYKcmyk(0%, 33.1%, 55.1%, 50.2%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(48.879% 0.06962 54.06)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(48.879% 0.04086 0.05637)
CIE LChlch(40.381% 28.342 56.691)
CIE Lablab(40.381% 15.564 23.686)
Display P3color(display-p3 0.4739 0.3404 0.2413)
Rec. 2020color(rec2020 0.3891 0.2884 0.1813)
srgb-linearcolor(srgb-linear 0.2122 0.0908 0.0409)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.1274 0.113 0.0538)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.498, 0.333, 0.224)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.212, 0.091, 0.041)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.498, 0.333, 0.224, 1.0)
GLSL vec4 — linearvec4(0.212, 0.091, 0.041, 1.0)
GLSL ivec3ivec3(127, 85, 57)
HLSL float3 — sRGBfloat3(0.498, 0.333, 0.224)
HLSL float3 — linearfloat3(0.212, 0.091, 0.041)
HLSL float4 — sRGBfloat4(0.498, 0.333, 0.224, 1.0)
HLSL half4 — sRGBhalf4(0.498, 0.333, 0.224, 1.0)
WGSL vec3f — sRGBvec3f(0.498, 0.333, 0.224)
WGSL vec4f — sRGBvec4f(0.498, 0.333, 0.224, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.212, 0.091, 0.041)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.498f, 0.333f, 0.224f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(127, 85, 57, 255)
Unreal FLinearColorFLinearColor(0.2122f, 0.0908f, 0.0409f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(127, 85, 57, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.498, 0.333, 0.224, 1)
Flutter ColorColor(0xFF7F5539)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(127, 85, 57)
SwiftUI ColorColor(red: 0.498, green: 0.333, blue: 0.224)
UIKit UIColorUIColor(red: 0.498, green: 0.333, blue: 0.224, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x7F5539
0x hex (ARGB)0xFF7F5539
Array 0–1[0.498, 0.333, 0.224]
Array 0–255[127, 85, 57]
Decimal integer8344889

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Coffee Brown on white6.44:1AALc 82Body text, 18px and up
Coffee Brown on black3.26:1AA LargeLc 20Not usable for text

Coffee Brown text on a white background

Coffee Brown text on a black background

White text on Coffee Brown

Black text on Coffee Brown

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#fff1e0
  • 100#ffe5cc
  • 200#fcd3b9
  • 300#e7bba0
  • 400#cb9e81
  • 500#ad8063
  • 600#91674b
  • 700#775138
  • 800#613f28
  • 900#4e301b
  • 950#301808

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#947058
  • Tint 2#a98b78
  • Tint 3#bfa798
  • Tint 4#d4c4b9
  • Tint 5#e9e1dc
  • Shade 1#62412b
  • Shade 2#472e1d
  • Shade 3#2d1c10
  • Shade 4#160b05
  • Shade 5#030101

Colours that work with Coffee Brown

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #346782
  • #2f6d5d
  • #625884
  • #83504d
  • #735d2f

Closest CSS names

  • saddlebrownΔEok 0.046
  • siennaΔEok 0.061
  • dimgrayΔEok 0.077
  • darkolivegreenΔEok 0.095
  • brownΔEok 0.104
  • firebrickΔEok 0.122