#5E5212#5E5212
#5E5212 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.082 H 98.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5212 |
|---|---|
| RGB | rgb(94, 82, 18) |
| HSL | hsl(51, 68%, 22%) |
| HSV | hsv(51, 81%, 37%) |
| CMYK | cmyk(0%, 12.8%, 80.9%, 63.1%) |
| CIE-LAB | lab(34.92, -2.73, 36.87) |
| CIE-LCH | lch(34.92, 36.97, 94.24°) |
| OKLab | oklab(43.81% -0.0115 0.0809) |
| OKLCH | oklch(43.81% 0.082 98.1) |
| XYZ | xyz(7.7430, 8.4583, 1.7969) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 2.66
Green Brown
#544E03
ΔE00 3.06
Greenish Brown
#696112
ΔE00 5.63
Greeny Brown
#696006
ΔE00 5.73
Mud
#735C12
ΔE00 5.89
Mud Brown
#60460F
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5212 #121E5E
analogous
#5E2C12 #5E5212 #445E12
triadic
#5E5212 #125E52 #52125E
tetradic
#5E5212 #125E2C #121E5E #5E1244
square
#5E5212 #125E2C #121E5E #5E1244
split-complementary
#5E5212 #12445E #2C125E
monochromatic
#1A1605 #2B2508 #5E5212 #917F1C #C5AC26
Accessibility & contrast
On white
7.80
#5E5212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#5E5212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5212
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5212 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5e5212; /* rgb */ color: rgb(94, 82, 18); /* oklch */ color: oklch(43.8% 0.082 98.1);
Tailwind
colors: {
custom: {
50: '#8f8255',
500: '#5e5212',
950: '#000000',
},
}SCSS
$custom: #5e5212; $custom-light: #8f8255; $custom-dark: #000000;
JSON
{
"hex": "#5e5212",
"rgb": {
"r": 94,
"g": 82,
"b": 18
},
"hsl": {
"h": 50.526,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.43805,
"c": 0.0817,
"h": 98.1
},
"luminance": 0.08458
}Semantic roles & 50–950 ramp
primary
#5E5212
secondary
#354596
accent
#58EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78