#8E8F16#8E8F16
#8E8F16 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.131 H 110.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8F16 |
|---|---|
| RGB | rgb(142, 143, 22) |
| HSL | hsl(60, 73%, 32%) |
| HSV | hsv(60, 85%, 56%) |
| CMYK | cmyk(0.7%, 0%, 84.6%, 43.9%) |
| CIE-LAB | lab(57.52, -14.01, 57.30) |
| CIE-LCH | lch(57.52, 58.99, 103.74°) |
| OKLab | oklab(62.9% -0.0453 0.1233) |
| OKLCH | oklch(62.9% 0.131 110.2) |
| XYZ | xyz(21.1234, 25.4543, 4.5594) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.38
Pea Soup
#929901
ΔE00 3.60
Baby Shit Green
#889717
ΔE00 3.99
Olive
#808000
ΔE00 5.41
Swamp Green
#748500
ΔE00 6.29
Ugly Green
#7A9703
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8F16 #17168F
analogous
#8F5416 #8E8F16 #518F16
triadic
#8E8F16 #168E8F #8F168E
tetradic
#8E8F16 #168F54 #17168F #8F1651
square
#8E8F16 #168F54 #17168F #8F1651
split-complementary
#8E8F16 #16518F #54168F
monochromatic
#252506 #595A0E #8E8F16 #C3C41E #E0E13E
Accessibility & contrast
On white
3.45
#8E8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#8E8F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8F16
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8F16 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8C22
Tritanopia (blue-blind)
#99857A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8e8f16; /* rgb */ color: rgb(142, 143, 22); /* oklch */ color: oklch(62.9% 0.131 110.2);
Tailwind
colors: {
custom: {
50: '#b3af61',
500: '#8e8f16',
950: '#000000',
},
}SCSS
$custom: #8e8f16; $custom-light: #b3af61; $custom-dark: #000000;
JSON
{
"hex": "#8e8f16",
"rgb": {
"r": 142,
"g": 143,
"b": 22
},
"hsl": {
"h": 60.496,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.62896,
"c": 0.13137,
"h": 110.2
},
"luminance": 0.25454
}Semantic roles & 50–950 ramp
primary
#8E8F16
secondary
#403FC1
accent
#38F039
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A