#8E8025#8E8025
#8E8025 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.109 H 100.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8025 |
|---|---|
| RGB | rgb(142, 128, 37) |
| HSL | hsl(52, 59%, 35%) |
| HSV | hsv(52, 74%, 56%) |
| CMYK | cmyk(0%, 9.9%, 73.9%, 44.3%) |
| CIE-LAB | lab(53.30, -5.29, 48.57) |
| CIE-LCH | lch(53.30, 48.86, 96.22°) |
| OKLab | oklab(59.56% -0.0195 0.1076) |
| OKLCH | oklch(59.56% 0.109 100.3) |
| XYZ | xyz(19.2093, 21.3236, 4.8539) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.89
Hazel
#8E7618
ΔE00 4.54
Olive
#808000
ΔE00 4.98
Diarrhea
#9F8303
ΔE00 5.55
Puke Brown
#947706
ΔE00 5.59
Ugly Brown
#7D7103
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8025 #25338E
analogous
#8E4B25 #8E8025 #678E25
triadic
#8E8025 #258E80 #80258E
tetradic
#8E8025 #258E4B #25338E #8E2567
square
#8E8025 #258E4B #25338E #8E2567
split-complementary
#8E8025 #25678E #4B258E
monochromatic
#2D280C #5D5418 #8E8025 #BFAC32 #D4C45A
Accessibility & contrast
On white
3.99
#8E8025 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#8E8025 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8025
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8025 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8025 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C16
Deuteranopia (green-blind)
#90822B
Tritanopia (blue-blind)
#99766E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8e8025; /* rgb */ color: rgb(142, 128, 37); /* oklch */ color: oklch(59.6% 0.109 100.3);
Tailwind
colors: {
custom: {
50: '#b2a466',
500: '#8e8025',
950: '#000000',
},
}SCSS
$custom: #8e8025; $custom-light: #b2a466; $custom-dark: #000000;
JSON
{
"hex": "#8e8025",
"rgb": {
"r": 142,
"g": 128,
"b": 37
},
"hsl": {
"h": 52,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.59564,
"c": 0.10933,
"h": 100.3
},
"luminance": 0.21323
}Semantic roles & 50–950 ramp
primary
#8E8025
secondary
#5663B9
accent
#5BE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A