#8E8523#8E8523
#8E8523 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.115 H 104.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8523 |
|---|---|
| RGB | rgb(142, 133, 35) |
| HSL | hsl(55, 60%, 35%) |
| HSV | hsv(55, 75%, 56%) |
| CMYK | cmyk(0%, 6.3%, 75.4%, 44.3%) |
| CIE-LAB | lab(54.71, -8.14, 50.69) |
| CIE-LCH | lch(54.71, 51.34, 99.12°) |
| OKLab | oklab(60.68% -0.0278 0.1117) |
| OKLCH | oklch(60.68% 0.115 104) |
| XYZ | xyz(19.8471, 22.6480, 4.9158) |
| Luminance | 0.2265 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.05
Baby Poop
#937C00
ΔE00 5.35
Diarrhea
#9F8303
ΔE00 6.30
Shit Green
#758000
ΔE00 6.66
Hazel
#8E7618
ΔE00 6.73
Drab
#828344
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8523 #232C8E
analogous
#8E4F23 #8E8523 #628E23
triadic
#8E8523 #238E85 #85238E
tetradic
#8E8523 #238E4F #232C8E #8E2362
square
#8E8523 #238E4F #232C8E #8E2362
split-complementary
#8E8523 #23628E #4F238E
monochromatic
#2C290B #5D5717 #8E8523 #BFB32F #D5CB56
Accessibility & contrast
On white
3.80
#8E8523 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#8E8523 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8523
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8523 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8523 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#997B72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e8523; /* rgb */ color: rgb(142, 133, 35); /* oklch */ color: oklch(60.7% 0.115 104.0);
Tailwind
colors: {
custom: {
50: '#b2a866',
500: '#8e8523',
950: '#000000',
},
}SCSS
$custom: #8e8523; $custom-light: #b2a866; $custom-dark: #000000;
JSON
{
"hex": "#8e8523",
"rgb": {
"r": 142,
"g": 133,
"b": 35
},
"hsl": {
"h": 54.953,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.60677,
"c": 0.11509,
"h": 104
},
"luminance": 0.22647
}Semantic roles & 50–950 ramp
primary
#8E8523
secondary
#535CB9
accent
#52E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A