#8E8618#8E8618
#8E8618 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.122 H 105.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8618 |
|---|---|
| RGB | rgb(142, 134, 24) |
| HSL | hsl(56, 71%, 33%) |
| HSV | hsv(56, 83%, 56%) |
| CMYK | cmyk(0%, 5.6%, 83.1%, 44.3%) |
| CIE-LAB | lab(54.94, -9.13, 54.55) |
| CIE-LCH | lch(54.94, 55.31, 99.50°) |
| OKLab | oklab(60.84% -0.0315 0.1177) |
| OKLCH | oklch(60.84% 0.122 105) |
| XYZ | xyz(19.8462, 22.8677, 4.2325) |
| Luminance | 0.2287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.69
Baby Poop
#937C00
ΔE00 5.45
Diarrhea
#9F8303
ΔE00 6.26
Shit Green
#758000
ΔE00 6.44
Baby Poop Green
#8F9805
ΔE00 7.01
Swamp Green
#748500
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8618 #18208E
analogous
#8E4B18 #8E8618 #5B8E18
triadic
#8E8618 #188E86 #86188E
tetradic
#8E8618 #188E4B #18208E #8E185B
square
#8E8618 #188E4B #18208E #8E185B
split-complementary
#8E8618 #185B8E #4B188E
monochromatic
#252306 #5A550F #8E8618 #C2B721 #DFD441
Accessibility & contrast
On white
3.77
#8E8618 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#8E8618 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8618
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8618 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8618 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958622
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e8618; /* rgb */ color: rgb(142, 134, 24); /* oklch */ color: oklch(60.8% 0.122 105.0);
Tailwind
colors: {
custom: {
50: '#b3a861',
500: '#8e8618',
950: '#000000',
},
}SCSS
$custom: #8e8618; $custom-light: #b3a861; $custom-dark: #000000;
JSON
{
"hex": "#8e8618",
"rgb": {
"r": 142,
"g": 134,
"b": 24
},
"hsl": {
"h": 55.932,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.6084,
"c": 0.12189,
"h": 105
},
"luminance": 0.22867
}Semantic roles & 50–950 ramp
primary
#8E8618
secondary
#424BC0
accent
#46EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A