#8E8623#8E8623
#8E8623 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.116 H 104.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8623 |
|---|---|
| RGB | rgb(142, 134, 35) |
| HSL | hsl(56, 60%, 35%) |
| HSV | hsv(56, 75%, 56%) |
| CMYK | cmyk(0%, 5.6%, 75.4%, 44.3%) |
| CIE-LAB | lab(54.99, -8.69, 50.97) |
| CIE-LCH | lch(54.99, 51.70, 99.67°) |
| OKLab | oklab(60.9% -0.0293 0.1123) |
| OKLCH | oklch(60.9% 0.116 104.6) |
| XYZ | xyz(19.9847, 22.9231, 4.9617) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.02
Baby Poop
#937C00
ΔE00 5.71
Diarrhea
#9F8303
ΔE00 6.54
Shit Green
#758000
ΔE00 6.54
Drab
#828344
ΔE00 6.73
Hazel
#8E7618
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8623 #232B8E
analogous
#8E5123 #8E8623 #618E23
triadic
#8E8623 #238E86 #86238E
tetradic
#8E8623 #238E51 #232B8E #8E2361
square
#8E8623 #238E51 #232B8E #8E2361
split-complementary
#8E8623 #23618E #51238E
monochromatic
#2C290B #5D5817 #8E8623 #BFB42F #D5CC56
Accessibility & contrast
On white
3.76
#8E8623 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#8E8623 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8623
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8623 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e8623; /* rgb */ color: rgb(142, 134, 35); /* oklch */ color: oklch(60.9% 0.116 104.6);
Tailwind
colors: {
custom: {
50: '#b2a866',
500: '#8e8623',
950: '#000000',
},
}SCSS
$custom: #8e8623; $custom-light: #b2a866; $custom-dark: #000000;
JSON
{
"hex": "#8e8623",
"rgb": {
"r": 142,
"g": 134,
"b": 35
},
"hsl": {
"h": 55.514,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.60903,
"c": 0.11602,
"h": 104.6
},
"luminance": 0.22922
}Semantic roles & 50–950 ramp
primary
#8E8623
secondary
#535BB9
accent
#50E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A