#5F4F12#5F4F12
#5F4F12 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.079 H 93.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4F12 |
|---|---|
| RGB | rgb(95, 79, 18) |
| HSL | hsl(48, 68%, 22%) |
| HSV | hsv(48, 81%, 37%) |
| CMYK | cmyk(0%, 16.8%, 81.1%, 62.7%) |
| CIE-LAB | lab(34.13, -0.42, 36.16) |
| CIE-LCH | lch(34.13, 36.17, 90.66°) |
| OKLab | oklab(43.2% -0.005 0.0793) |
| OKLCH | oklch(43.2% 0.079 93.6) |
| XYZ | xyz(7.6249, 8.0690, 1.7280) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 3.04
Green Brown
#544E03
ΔE00 4.31
Mud Brown
#60460F
ΔE00 5.04
Mud
#735C12
ΔE00 5.78
Greenish Brown
#696112
ΔE00 7.08
Greeny Brown
#696006
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4F12 #12225F
analogous
#5F2812 #5F4F12 #495F12
triadic
#5F4F12 #125F4F #4F125F
tetradic
#5F4F12 #125F28 #12225F #5F1249
square
#5F4F12 #125F28 #12225F #5F1249
split-complementary
#5F4F12 #12495F #28125F
monochromatic
#1A1505 #2C2408 #5F4F12 #927A1C #C6A525
Accessibility & contrast
On white
8.03
#5F4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#5F4F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F4F12
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4F12 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#674843
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5f4f12; /* rgb */ color: rgb(95, 79, 18); /* oklch */ color: oklch(43.2% 0.079 93.6);
Tailwind
colors: {
custom: {
50: '#908055',
500: '#5f4f12',
950: '#000000',
},
}SCSS
$custom: #5f4f12; $custom-light: #908055; $custom-dark: #000000;
JSON
{
"hex": "#5f4f12",
"rgb": {
"r": 95,
"g": 79,
"b": 18
},
"hsl": {
"h": 47.532,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.43203,
"c": 0.07949,
"h": 93.6
},
"luminance": 0.08069
}Semantic roles & 50–950 ramp
primary
#5F4F12
secondary
#364A97
accent
#61EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78