#5E5B0F#5E5B0F
#5E5B0F is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.0% C 0.092 H 107.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5B0F |
|---|---|
| RGB | rgb(94, 91, 15) |
| HSL | hsl(58, 72%, 21%) |
| HSV | hsv(58, 84%, 37%) |
| CMYK | cmyk(0%, 3.2%, 84%, 63.1%) |
| CIE-LAB | lab(37.66, -8.17, 40.48) |
| CIE-LCH | lch(37.66, 41.30, 101.42°) |
| OKLab | oklab(45.98% -0.0271 0.0879) |
| OKLCH | oklch(45.98% 0.092 107.1) |
| XYZ | xyz(8.4438, 9.8966, 1.9173) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.05
Greeny Brown
#696006
ΔE00 3.43
Green Brown
#544E03
ΔE00 4.45
Mud Green
#606602
ΔE00 4.77
Olive Brown
#645403
ΔE00 5.12
Brown Green
#706C11
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5B0F #0F125E
analogous
#5E340F #5E5B0F #3A5E0F
triadic
#5E5B0F #0F5E5B #5B0F5E
tetradic
#5E5B0F #0F5E34 #0F125E #5E0F3A
square
#5E5B0F #0F5E34 #0F125E #5E0F3A
split-complementary
#5E5B0F #0F3A5E #340F5E
monochromatic
#1A1A04 #292807 #5E5B0F #938E17 #C8C120
Accessibility & contrast
On white
7.05
#5E5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#5E5B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5B0F
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5B0F | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#66544D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5e5b0f; /* rgb */ color: rgb(94, 91, 15); /* oklch */ color: oklch(46.0% 0.092 107.1);
Tailwind
colors: {
custom: {
50: '#8f8955',
500: '#5e5b0f',
950: '#000000',
},
}SCSS
$custom: #5e5b0f; $custom-light: #8f8955; $custom-dark: #000000;
JSON
{
"hex": "#5e5b0f",
"rgb": {
"r": 94,
"g": 91,
"b": 15
},
"hsl": {
"h": 57.722,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.45975,
"c": 0.09202,
"h": 107.1
},
"luminance": 0.09896
}Semantic roles & 50–950 ramp
primary
#5E5B0F
secondary
#313597
accent
#40EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78