#5E5312#5E5312
#5E5312 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.083 H 99.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5312 |
|---|---|
| RGB | rgb(94, 83, 18) |
| HSL | hsl(51, 68%, 22%) |
| HSV | hsv(51, 81%, 37%) |
| CMYK | cmyk(0%, 11.7%, 80.9%, 63.1%) |
| CIE-LAB | lab(35.22, -3.33, 37.16) |
| CIE-LCH | lch(35.22, 37.31, 95.12°) |
| OKLab | oklab(44.05% -0.0132 0.0815) |
| OKLCH | oklch(44.05% 0.083 99.2) |
| XYZ | xyz(7.8189, 8.6103, 1.8222) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 2.72
Green Brown
#544E03
ΔE00 2.91
Greenish Brown
#696112
ΔE00 5.22
Greeny Brown
#696006
ΔE00 5.35
Mud
#735C12
ΔE00 5.94
Mud Brown
#60460F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5312 #121D5E
analogous
#5E2D12 #5E5312 #435E12
triadic
#5E5312 #125E53 #53125E
tetradic
#5E5312 #125E2D #121D5E #5E1243
square
#5E5312 #125E2D #121D5E #5E1243
split-complementary
#5E5312 #12435E #2D125E
monochromatic
#1A1705 #2B2608 #5E5312 #91801C #C5AE26
Accessibility & contrast
On white
7.71
#5E5312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#5E5312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E5312
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5312 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#664C47
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5e5312; /* rgb */ color: rgb(94, 83, 18); /* oklch */ color: oklch(44.0% 0.083 99.2);
Tailwind
colors: {
custom: {
50: '#8f8356',
500: '#5e5312',
950: '#000000',
},
}SCSS
$custom: #5e5312; $custom-light: #8f8356; $custom-dark: #000000;
JSON
{
"hex": "#5e5312",
"rgb": {
"r": 94,
"g": 83,
"b": 18
},
"hsl": {
"h": 51.316,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.44045,
"c": 0.08256,
"h": 99.2
},
"luminance": 0.0861
}Semantic roles & 50–950 ramp
primary
#5E5312
secondary
#354496
accent
#56EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78