#5E5812#5E5812
#5E5812 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.087 H 104.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5812 |
|---|---|
| RGB | rgb(94, 88, 18) |
| HSL | hsl(55, 68%, 22%) |
| HSV | hsv(55, 81%, 37%) |
| CMYK | cmyk(0%, 6.4%, 80.9%, 63.1%) |
| CIE-LAB | lab(36.75, -6.29, 38.58) |
| CIE-LCH | lch(36.75, 39.09, 99.27°) |
| OKLab | oklab(45.26% -0.0215 0.0845) |
| OKLCH | oklch(45.26% 0.087 104.3) |
| XYZ | xyz(8.2154, 9.4031, 1.9544) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.46
Greenish Brown
#696112
ΔE00 3.60
Greeny Brown
#696006
ΔE00 3.93
Olive Brown
#645403
ΔE00 4.04
Mud Green
#606602
ΔE00 6.27
Mud
#735C12
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5812 #12185E
analogous
#5E3212 #5E5812 #3E5E12
triadic
#5E5812 #125E58 #58125E
tetradic
#5E5812 #125E32 #12185E #5E123E
square
#5E5812 #125E32 #12185E #5E123E
split-complementary
#5E5812 #123E5E #32125E
monochromatic
#1A1805 #2B2808 #5E5812 #91881C #C5B826
Accessibility & contrast
On white
7.29
#5E5812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#5E5812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5812
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5812 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#66514B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5e5812; /* rgb */ color: rgb(94, 88, 18); /* oklch */ color: oklch(45.3% 0.087 104.3);
Tailwind
colors: {
custom: {
50: '#8f8656',
500: '#5e5812',
950: '#000000',
},
}SCSS
$custom: #5e5812; $custom-light: #8f8656; $custom-dark: #000000;
JSON
{
"hex": "#5e5812",
"rgb": {
"r": 94,
"g": 88,
"b": 18
},
"hsl": {
"h": 55.263,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.45258,
"c": 0.08723,
"h": 104.3
},
"luminance": 0.09403
}Semantic roles & 50–950 ramp
primary
#5E5812
secondary
#353D96
accent
#4BEB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78