#5E5112#5E5112
#5E5112 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.081 H 97.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5112 |
|---|---|
| RGB | rgb(94, 81, 18) |
| HSL | hsl(50, 68%, 22%) |
| HSV | hsv(50, 81%, 37%) |
| CMYK | cmyk(0%, 13.8%, 80.9%, 63.1%) |
| CIE-LAB | lab(34.62, -2.13, 36.59) |
| CIE-LCH | lch(34.62, 36.65, 93.33°) |
| OKLab | oklab(43.57% -0.0098 0.0803) |
| OKLCH | oklch(43.57% 0.081 97) |
| XYZ | xyz(7.6681, 8.3086, 1.7720) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 2.71
Green Brown
#544E03
ΔE00 3.29
Mud
#735C12
ΔE00 5.88
Greenish Brown
#696112
ΔE00 6.06
Greeny Brown
#696006
ΔE00 6.14
Mud Brown
#60460F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5112 #121F5E
analogous
#5E2B12 #5E5112 #455E12
triadic
#5E5112 #125E51 #51125E
tetradic
#5E5112 #125E2B #121F5E #5E1245
square
#5E5112 #125E2B #121F5E #5E1245
split-complementary
#5E5112 #12455E #2B125E
monochromatic
#1A1605 #2B2508 #5E5112 #917D1C #C5AA26
Accessibility & contrast
On white
7.89
#5E5112 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#5E5112 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5112
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5112 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5e5112; /* rgb */ color: rgb(94, 81, 18); /* oklch */ color: oklch(43.6% 0.081 97.0);
Tailwind
colors: {
custom: {
50: '#8f8155',
500: '#5e5112',
950: '#000000',
},
}SCSS
$custom: #5e5112; $custom-light: #8f8155; $custom-dark: #000000;
JSON
{
"hex": "#5e5112",
"rgb": {
"r": 94,
"g": 81,
"b": 18
},
"hsl": {
"h": 49.737,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.43566,
"c": 0.08088,
"h": 97
},
"luminance": 0.08308
}Semantic roles & 50–950 ramp
primary
#5E5112
secondary
#354696
accent
#5BEB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78