Colour reference
Coffee Brown
#7f5539
- RGB
- rgb(127 85 57)
- HSL
- 24°, 38%, 36%
- OKLCh
- 48.9% 0.070 54.1
Coffee Brown in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #7f5539 | |
|---|---|---|
| RGB | rgb(127 85 57) | |
| RGB legacy | rgb(127, 85, 57) | |
| RGB percent | rgb(49.8% 33.33% 22.35%) | |
| HSL | hsl(24 38% 36.1%) | |
| HSL legacy | hsl(24, 38%, 36.1%) | |
| HSV / HSB | hsv(24, 55.1%, 49.8%) | |
| HWB | hwb(24 22.4% 50.2%) | |
| Nearest name | saddlebrown (approx.) | |
| CMYK | cmyk(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.
| OKLCh | oklch(48.879% 0.06962 54.06)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(48.879% 0.04086 0.05637) | |
| CIE LCh | lch(40.381% 28.342 56.691) | |
| CIE Lab | lab(40.381% 15.564 23.686) | |
| Display P3 | color(display-p3 0.4739 0.3404 0.2413) | |
| Rec. 2020 | color(rec2020 0.3891 0.2884 0.1813) | |
| srgb-linear | color(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 — sRGB | vec3(0.498, 0.333, 0.224)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.212, 0.091, 0.041)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.498, 0.333, 0.224, 1.0) | |
| GLSL vec4 — linear | vec4(0.212, 0.091, 0.041, 1.0) | |
| GLSL ivec3 | ivec3(127, 85, 57) | |
| HLSL float3 — sRGB | float3(0.498, 0.333, 0.224) | |
| HLSL float3 — linear | float3(0.212, 0.091, 0.041) | |
| HLSL float4 — sRGB | float4(0.498, 0.333, 0.224, 1.0) | |
| HLSL half4 — sRGB | half4(0.498, 0.333, 0.224, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.498, 0.333, 0.224) | |
| WGSL vec4f — sRGB | vec4f(0.498, 0.333, 0.224, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.212, 0.091, 0.041) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(127, 85, 57, 255) | |
| Unreal FLinearColor | FLinearColor(0.2122f, 0.0908f, 0.0409f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(127, 85, 57, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.498, 0.333, 0.224, 1) | |
| Flutter Color | Color(0xFF7F5539)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(127, 85, 57) | |
| SwiftUI Color | Color(red: 0.498, green: 0.333, blue: 0.224) | |
| UIKit UIColor | UIColor(red: 0.498, green: 0.333, blue: 0.224, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x7F5539 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF7F5539 | |
| Array 0–1 | [0.498, 0.333, 0.224] | |
| Array 0–255 | [127, 85, 57] | |
| Decimal integer | 8344889 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Coffee Brown on white | 6.44:1 | AA | Lc 82 | Body text, 18px and up |
| Coffee Brown on black | 3.26:1 | AA Large | Lc 20 | Not 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.046siennaΔEok 0.061dimgrayΔEok 0.077darkolivegreenΔEok 0.095brownΔEok 0.104firebrickΔEok 0.122