#8E8A25#8E8A25
#8E8A25 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.119 H 107.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A25 |
|---|---|
| RGB | rgb(142, 138, 37) |
| HSL | hsl(58, 59%, 35%) |
| HSV | hsv(58, 74%, 56%) |
| CMYK | cmyk(0%, 2.8%, 73.9%, 44.3%) |
| CIE-LAB | lab(56.15, -10.76, 51.32) |
| CIE-LCH | lch(56.15, 52.44, 101.84°) |
| OKLab | oklab(61.83% -0.0349 0.1134) |
| OKLCH | oklch(61.83% 0.119 107.1) |
| XYZ | xyz(20.5785, 24.0620, 5.3104) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.47
Baby Poop Green
#8F9805
ΔE00 5.81
Pea Soup
#929901
ΔE00 6.00
Baby Shit Green
#889717
ΔE00 6.05
Shit Green
#758000
ΔE00 6.40
Swamp Green
#748500
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A25 #25298E
analogous
#8E5525 #8E8A25 #5E8E25
triadic
#8E8A25 #258E8A #8A258E
tetradic
#8E8A25 #258E55 #25298E #8E255E
square
#8E8A25 #258E55 #25298E #8E255E
split-complementary
#8E8A25 #255E8E #55258E
monochromatic
#2D2C0C #5D5B18 #8E8A25 #BFB932 #D4CF5A
Accessibility & contrast
On white
3.61
#8E8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#8E8A25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A25
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A25 | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968512
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#998176
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8a25; /* rgb */ color: rgb(142, 138, 37); /* oklch */ color: oklch(61.8% 0.119 107.1);
Tailwind
colors: {
custom: {
50: '#b2ab67',
500: '#8e8a25',
950: '#000000',
},
}SCSS
$custom: #8e8a25; $custom-light: #b2ab67; $custom-dark: #000000;
JSON
{
"hex": "#8e8a25",
"rgb": {
"r": 142,
"g": 138,
"b": 37
},
"hsl": {
"h": 57.714,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.61829,
"c": 0.11866,
"h": 107.1
},
"luminance": 0.24061
}Semantic roles & 50–950 ramp
primary
#8E8A25
secondary
#565AB9
accent
#4CE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A