#8C8E18#8C8E18
#8C8E18 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.130 H 110.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8E18 |
|---|---|
| RGB | rgb(140, 142, 24) |
| HSL | hsl(61, 71%, 33%) |
| HSV | hsv(61, 83%, 56%) |
| CMYK | cmyk(1.4%, 0%, 83.1%, 44.3%) |
| CIE-LAB | lab(57.06, -14.33, 56.32) |
| CIE-LCH | lch(57.06, 58.11, 104.27°) |
| OKLab | oklab(62.5% -0.0459 0.1217) |
| OKLCH | oklch(62.5% 0.13 110.7) |
| XYZ | xyz(20.6539, 24.9880, 4.5992) |
| Luminance | 0.2499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.65
Baby Shit Green
#889717
ΔE00 3.96
Pea Soup
#929901
ΔE00 3.96
Olive
#808000
ΔE00 5.03
Swamp Green
#748500
ΔE00 5.78
Shit Green
#758000
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8E18 #1A188E
analogous
#8E5518 #8C8E18 #518E18
triadic
#8C8E18 #188C8E #8E188C
tetradic
#8C8E18 #188E55 #1A188E #8E1851
square
#8C8E18 #188E55 #1A188E #8E1851
split-complementary
#8C8E18 #18518E #55188E
monochromatic
#252506 #585A0F #8C8E18 #C0C221 #DCDF41
Accessibility & contrast
On white
3.50
#8C8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#8C8E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8E18
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8E18 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8A24
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8c8e18; /* rgb */ color: rgb(140, 142, 24); /* oklch */ color: oklch(62.5% 0.130 110.7);
Tailwind
colors: {
custom: {
50: '#b1ae62',
500: '#8c8e18',
950: '#000000',
},
}SCSS
$custom: #8c8e18; $custom-light: #b1ae62; $custom-dark: #000000;
JSON
{
"hex": "#8c8e18",
"rgb": {
"r": 140,
"g": 142,
"b": 24
},
"hsl": {
"h": 61.017,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.62496,
"c": 0.13003,
"h": 110.7
},
"luminance": 0.24987
}Semantic roles & 50–950 ramp
primary
#8C8E18
secondary
#4442C0
accent
#3AEE3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A