#8E8319#8E8319
#8E8319 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.119 H 103.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8319 |
|---|---|
| RGB | rgb(142, 131, 25) |
| HSL | hsl(54, 70%, 33%) |
| HSV | hsv(54, 82%, 56%) |
| CMYK | cmyk(0%, 7.7%, 82.4%, 44.3%) |
| CIE-LAB | lab(54.08, -7.46, 53.52) |
| CIE-LCH | lch(54.08, 54.03, 97.93°) |
| OKLab | oklab(60.16% -0.0268 0.1157) |
| OKLCH | oklch(60.16% 0.119 103) |
| XYZ | xyz(19.4480, 22.0544, 4.1520) |
| Luminance | 0.2205 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.87
Baby Poop
#937C00
ΔE00 4.30
Diarrhea
#9F8303
ΔE00 5.55
Hazel
#8E7618
ΔE00 5.96
Puke Brown
#947706
ΔE00 6.62
Shit Green
#758000
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8319 #19248E
analogous
#8E4819 #8E8319 #5E8E19
triadic
#8E8319 #198E83 #83198E
tetradic
#8E8319 #198E48 #19248E #8E195E
square
#8E8319 #198E48 #19248E #8E195E
split-complementary
#8E8319 #195E8E #48198E
monochromatic
#262307 #5A5310 #8E8319 #C2B322 #DECF43
Accessibility & contrast
On white
3.88
#8E8319 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#8E8319 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8319
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8319 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8319 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#938422
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e8319; /* rgb */ color: rgb(142, 131, 25); /* oklch */ color: oklch(60.2% 0.119 103.0);
Tailwind
colors: {
custom: {
50: '#b3a661',
500: '#8e8319',
950: '#000000',
},
}SCSS
$custom: #8e8319; $custom-light: #b3a661; $custom-dark: #000000;
JSON
{
"hex": "#8e8319",
"rgb": {
"r": 142,
"g": 131,
"b": 25
},
"hsl": {
"h": 54.359,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.60164,
"c": 0.11877,
"h": 103
},
"luminance": 0.22054
}Semantic roles & 50–950 ramp
primary
#8E8319
secondary
#444FBF
accent
#4CED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A