#8E9124#8E9124
#8E9124 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.4% C 0.127 H 111.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8E9124 |
|---|---|
| RGB | rgb(142, 145, 36) |
| HSL | hsl(62, 60%, 35%) |
| HSV | hsv(62, 75%, 57%) |
| CMYK | cmyk(2.1%, 0%, 75.2%, 43.1%) |
| CIE-LAB | lab(58.16, -14.53, 53.60) |
| CIE-LCH | lch(58.16, 55.53, 105.17°) |
| OKLab | oklab(63.43% -0.0456 0.118) |
| OKLCH | oklch(63.43% 0.127 111.1) |
| XYZ | xyz(21.5999, 26.1295, 5.5744) |
| Luminance | 0.2613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.29
Baby Shit Green
#889717
ΔE00 3.34
Pea Soup
#929901
ΔE00 3.63
Ugly Green
#7A9703
ΔE00 6.08
Olive
#808000
ΔE00 6.16
Swamp Green
#748500
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E9124 #272491
analogous
#915D24 #8E9124 #589124
triadic
#8E9124 #248E91 #91248E
tetradic
#8E9124 #24915D #272491 #912458
square
#8E9124 #24915D #272491 #912458
split-complementary
#8E9124 #245891 #5D2491
monochromatic
#2E2F0C #5E6018 #8E9124 #BEC230 #D2D659
Accessibility & contrast
On white
3.37
#8E9124 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#8E9124 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E9124
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E9124 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E9124 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A0D
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#98887C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8e9124; /* rgb */ color: rgb(142, 145, 36); /* oklch */ color: oklch(63.4% 0.127 111.1);
Tailwind
colors: {
custom: {
50: '#b2b168',
500: '#8e9124',
950: '#000000',
},
}SCSS
$custom: #8e9124; $custom-light: #b2b168; $custom-dark: #000000;
JSON
{
"hex": "#8e9124",
"rgb": {
"r": 142,
"g": 145,
"b": 36
},
"hsl": {
"h": 61.651,
"s": 60.221,
"l": 35.49
},
"oklch": {
"l": 0.63432,
"c": 0.12653,
"h": 111.1
},
"luminance": 0.26129
}Semantic roles & 50–950 ramp
primary
#8E9124
secondary
#5956BA
accent
#44E349
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A