#5F5711#5F5711
#5F5711 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.087 H 102.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5711 |
|---|---|
| RGB | rgb(95, 87, 17) |
| HSL | hsl(54, 70%, 22%) |
| HSV | hsv(54, 82%, 37%) |
| CMYK | cmyk(0%, 8.4%, 82.1%, 62.7%) |
| CIE-LAB | lab(36.54, -5.26, 38.80) |
| CIE-LCH | lch(36.54, 39.15, 97.72°) |
| OKLab | oklab(45.11% -0.0188 0.0847) |
| OKLCH | oklch(45.11% 0.087 102.5) |
| XYZ | xyz(8.2291, 9.2901, 1.8899) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.29
Olive Brown
#645403
ΔE00 3.30
Greenish Brown
#696112
ΔE00 3.73
Greeny Brown
#696006
ΔE00 3.94
Mud
#735C12
ΔE00 6.12
Mud Green
#606602
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5711 #11195F
analogous
#5F3011 #5F5711 #405F11
triadic
#5F5711 #115F57 #57115F
tetradic
#5F5711 #115F30 #11195F #5F1140
square
#5F5711 #115F30 #11195F #5F1140
split-complementary
#5F5711 #11405F #30115F
monochromatic
#1A1805 #2B2708 #5F5711 #93871A #C7B624
Accessibility & contrast
On white
7.35
#5F5711 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#5F5711 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F5711
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5711 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5711 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5f5711; /* rgb */ color: rgb(95, 87, 17); /* oklch */ color: oklch(45.1% 0.087 102.5);
Tailwind
colors: {
custom: {
50: '#8f8656',
500: '#5f5711',
950: '#000000',
},
}SCSS
$custom: #5f5711; $custom-light: #8f8656; $custom-dark: #000000;
JSON
{
"hex": "#5f5711",
"rgb": {
"r": 95,
"g": 87,
"b": 17
},
"hsl": {
"h": 53.846,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.45111,
"c": 0.08678,
"h": 102.5
},
"luminance": 0.0929
}Semantic roles & 50–950 ramp
primary
#5F5711
secondary
#343E98
accent
#4EEC3B
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78