#5E5712#5E5712
#5E5712 is a mid, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.086 H 103.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5712 |
|---|---|
| RGB | rgb(94, 87, 18) |
| HSL | hsl(54, 68%, 22%) |
| HSV | hsv(54, 81%, 37%) |
| CMYK | cmyk(0%, 7.4%, 80.9%, 63.1%) |
| CIE-LAB | lab(36.44, -5.71, 38.30) |
| CIE-LCH | lch(36.44, 38.72, 98.48°) |
| OKLab | oklab(45.01% -0.0199 0.0839) |
| OKLCH | oklch(45.01% 0.086 103.3) |
| XYZ | xyz(8.1338, 9.2401, 1.9272) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.21
Olive Brown
#645403
ΔE00 3.69
Greenish Brown
#696112
ΔE00 3.85
Greeny Brown
#696006
ΔE00 4.13
Mud
#735C12
ΔE00 6.50
Mud Green
#606602
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5712 #12195E
analogous
#5E3112 #5E5712 #3F5E12
triadic
#5E5712 #125E57 #57125E
tetradic
#5E5712 #125E31 #12195E #5E123F
square
#5E5712 #125E31 #12195E #5E123F
split-complementary
#5E5712 #123F5E #31125E
monochromatic
#1A1805 #2B2708 #5E5712 #91871C #C5B626
Accessibility & contrast
On white
7.37
#5E5712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#5E5712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5712
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5712 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#66504A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5e5712; /* rgb */ color: rgb(94, 87, 18); /* oklch */ color: oklch(45.0% 0.086 103.3);
Tailwind
colors: {
custom: {
50: '#8f8656',
500: '#5e5712',
950: '#000000',
},
}SCSS
$custom: #5e5712; $custom-light: #8f8656; $custom-dark: #000000;
JSON
{
"hex": "#5e5712",
"rgb": {
"r": 94,
"g": 87,
"b": 18
},
"hsl": {
"h": 54.474,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.45014,
"c": 0.08625,
"h": 103.3
},
"luminance": 0.0924
}Semantic roles & 50–950 ramp
primary
#5E5712
secondary
#353E96
accent
#4DEB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78