#5F5412#5F5412
#5F5412 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.4% C 0.083 H 99.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5412 |
|---|---|
| RGB | rgb(95, 84, 18) |
| HSL | hsl(51, 68%, 22%) |
| HSV | hsv(51, 81%, 37%) |
| CMYK | cmyk(0%, 11.6%, 81.1%, 62.7%) |
| CIE-LAB | lab(35.63, -3.43, 37.58) |
| CIE-LCH | lch(35.63, 37.73, 95.22°) |
| OKLab | oklab(44.39% -0.0135 0.0823) |
| OKLCH | oklch(44.39% 0.083 99.3) |
| XYZ | xyz(7.9992, 8.8176, 1.8528) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 2.57
Green Brown
#544E03
ΔE00 3.10
Greenish Brown
#696112
ΔE00 4.86
Greeny Brown
#696006
ΔE00 4.99
Mud
#735C12
ΔE00 5.70
Mud Brown
#60460F
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5412 #121D5F
analogous
#5F2E12 #5F5412 #435F12
triadic
#5F5412 #125F54 #54125F
tetradic
#5F5412 #125F2E #121D5F #5F1243
square
#5F5412 #125F2E #121D5F #5F1243
split-complementary
#5F5412 #12435F #2E125F
monochromatic
#1A1705 #2C2708 #5F5412 #92811C #C6AF25
Accessibility & contrast
On white
7.60
#5F5412 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#5F5412 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F5412
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5412 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#674D47
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5f5412; /* rgb */ color: rgb(95, 84, 18); /* oklch */ color: oklch(44.4% 0.083 99.3);
Tailwind
colors: {
custom: {
50: '#8f8356',
500: '#5f5412',
950: '#000000',
},
}SCSS
$custom: #5f5412; $custom-light: #8f8356; $custom-dark: #000000;
JSON
{
"hex": "#5f5412",
"rgb": {
"r": 95,
"g": 84,
"b": 18
},
"hsl": {
"h": 51.429,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.44394,
"c": 0.08344,
"h": 99.3
},
"luminance": 0.08817
}Semantic roles & 50–950 ramp
primary
#5F5412
secondary
#364497
accent
#56EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78