#5F5512#5F5512
#5F5512 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.084 H 100.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5512 |
|---|---|
| RGB | rgb(95, 85, 18) |
| HSL | hsl(52, 68%, 22%) |
| HSV | hsv(52, 81%, 37%) |
| CMYK | cmyk(0%, 10.5%, 81.1%, 62.7%) |
| CIE-LAB | lab(35.93, -4.03, 37.86) |
| CIE-LCH | lch(35.93, 38.07, 96.07°) |
| OKLab | oklab(44.63% -0.0152 0.0829) |
| OKLCH | oklch(44.63% 0.084 100.4) |
| XYZ | xyz(8.0774, 8.9740, 1.8788) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 2.77
Green Brown
#544E03
ΔE00 3.09
Greenish Brown
#696112
ΔE00 4.47
Greeny Brown
#696006
ΔE00 4.63
Mud
#735C12
ΔE00 5.81
Mud Green
#606602
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5512 #121C5F
analogous
#5F2F12 #5F5512 #435F12
triadic
#5F5512 #125F55 #55125F
tetradic
#5F5512 #125F2F #121C5F #5F1243
square
#5F5512 #125F2F #121C5F #5F1243
split-complementary
#5F5512 #12435F #2F125F
monochromatic
#1A1705 #2C2708 #5F5512 #92831C #C6B125
Accessibility & contrast
On white
7.51
#5F5512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#5F5512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F5512
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5512 | 1.00 | 7.51 | 2.79 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5205
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#674E48
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5f5512; /* rgb */ color: rgb(95, 85, 18); /* oklch */ color: oklch(44.6% 0.084 100.4);
Tailwind
colors: {
custom: {
50: '#8f8456',
500: '#5f5512',
950: '#000000',
},
}SCSS
$custom: #5f5512; $custom-light: #8f8456; $custom-dark: #000000;
JSON
{
"hex": "#5f5512",
"rgb": {
"r": 95,
"g": 85,
"b": 18
},
"hsl": {
"h": 52.208,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.44634,
"c": 0.08432,
"h": 100.4
},
"luminance": 0.08974
}Semantic roles & 50–950 ramp
primary
#5F5512
secondary
#364297
accent
#53EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78