#5E5915#5E5915
#5E5915 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.086 H 105.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5915 |
|---|---|
| RGB | rgb(94, 89, 21) |
| HSL | hsl(56, 63%, 23%) |
| HSV | hsv(56, 78%, 37%) |
| CMYK | cmyk(0%, 5.3%, 77.7%, 63.1%) |
| CIE-LAB | lab(37.08, -6.73, 37.71) |
| CIE-LCH | lch(37.08, 38.30, 100.12°) |
| OKLab | oklab(45.52% -0.0224 0.0833) |
| OKLCH | oklch(45.52% 0.086 105.1) |
| XYZ | xyz(8.3242, 9.5789, 2.1198) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.56
Green Brown
#544E03
ΔE00 3.83
Greeny Brown
#696006
ΔE00 4.03
Olive Brown
#645403
ΔE00 4.56
Mud Green
#606602
ΔE00 6.00
Mud
#735C12
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5915 #151A5E
analogous
#5E3415 #5E5915 #3F5E15
triadic
#5E5915 #155E59 #59155E
tetradic
#5E5915 #155E34 #151A5E #5E153F
square
#5E5915 #155E34 #151A5E #5E153F
split-complementary
#5E5915 #153F5E #34155E
monochromatic
#191806 #2C2A0A #5E5915 #908820 #C2B82B
Accessibility & contrast
On white
7.20
#5E5915 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#5E5915 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5915
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5915 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615609
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#66524C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5e5915; /* rgb */ color: rgb(94, 89, 21); /* oklch */ color: oklch(45.5% 0.086 105.1);
Tailwind
colors: {
custom: {
50: '#8e8758',
500: '#5e5915',
950: '#000000',
},
}SCSS
$custom: #5e5915; $custom-light: #8e8758; $custom-dark: #000000;
JSON
{
"hex": "#5e5915",
"rgb": {
"r": 94,
"g": 89,
"b": 21
},
"hsl": {
"h": 55.89,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.45524,
"c": 0.08628,
"h": 105.1
},
"luminance": 0.09579
}Semantic roles & 50–950 ramp
primary
#5E5915
secondary
#394095
accent
#4DE741
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78