#5E5912#5E5912
#5E5912 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.088 H 105.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5912 |
|---|---|
| RGB | rgb(94, 89, 18) |
| HSL | hsl(56, 68%, 22%) |
| HSV | hsv(56, 81%, 37%) |
| CMYK | cmyk(0%, 5.3%, 80.9%, 63.1%) |
| CIE-LAB | lab(37.06, -6.88, 38.87) |
| CIE-LCH | lch(37.06, 39.47, 100.04°) |
| OKLab | oklab(45.5% -0.0232 0.0851) |
| OKLCH | oklch(45.5% 0.088 105.2) |
| XYZ | xyz(8.2980, 9.5684, 1.9819) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.39
Green Brown
#544E03
ΔE00 3.76
Greeny Brown
#696006
ΔE00 3.77
Olive Brown
#645403
ΔE00 4.42
Mud Green
#606602
ΔE00 5.81
Mud
#735C12
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5912 #12175E
analogous
#5E3312 #5E5912 #3D5E12
triadic
#5E5912 #125E59 #59125E
tetradic
#5E5912 #125E33 #12175E #5E123D
square
#5E5912 #125E33 #12175E #5E123D
split-complementary
#5E5912 #123D5E #33125E
monochromatic
#1A1805 #2B2808 #5E5912 #918A1C #C5BA26
Accessibility & contrast
On white
7.21
#5E5912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#5E5912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5912
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5912 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#635917
Tritanopia (blue-blind)
#66524C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5e5912; /* rgb */ color: rgb(94, 89, 18); /* oklch */ color: oklch(45.5% 0.088 105.2);
Tailwind
colors: {
custom: {
50: '#8f8756',
500: '#5e5912',
950: '#000000',
},
}SCSS
$custom: #5e5912; $custom-light: #8f8756; $custom-dark: #000000;
JSON
{
"hex": "#5e5912",
"rgb": {
"r": 94,
"g": 89,
"b": 18
},
"hsl": {
"h": 56.053,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.45503,
"c": 0.08823,
"h": 105.2
},
"luminance": 0.09568
}Semantic roles & 50–950 ramp
primary
#5E5912
secondary
#353C96
accent
#48EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78