#8E8B16#8E8B16
#8E8B16 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.127 H 108.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8B16 |
|---|---|
| RGB | rgb(142, 139, 22) |
| HSL | hsl(59, 73%, 32%) |
| HSV | hsv(59, 85%, 56%) |
| CMYK | cmyk(0%, 2.1%, 84.5%, 44.3%) |
| CIE-LAB | lab(56.36, -11.89, 56.32) |
| CIE-LCH | lch(56.36, 57.56, 101.92°) |
| OKLab | oklab(61.97% -0.0394 0.1212) |
| OKLCH | oklch(61.97% 0.127 108) |
| XYZ | xyz(20.5336, 24.2747, 4.3628) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.35
Baby Poop Green
#8F9805
ΔE00 4.93
Pea Soup
#929901
ΔE00 5.07
Baby Shit Green
#889717
ΔE00 5.52
Shit Green
#758000
ΔE00 6.37
Swamp Green
#748500
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8B16 #16198E
analogous
#8E4F16 #8E8B16 #558E16
triadic
#8E8B16 #168E8B #8B168E
tetradic
#8E8B16 #168E4F #16198E #8E1655
square
#8E8B16 #168E4F #16198E #8E1655
split-complementary
#8E8B16 #16558E #4F168E
monochromatic
#242306 #59570E #8E8B16 #C3BF1E #E1DD3D
Accessibility & contrast
On white
3.59
#8E8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#8E8B16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8B16
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8B16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8B16 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#998176
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8b16; /* rgb */ color: rgb(142, 139, 22); /* oklch */ color: oklch(62.0% 0.127 108.0);
Tailwind
colors: {
custom: {
50: '#b3ac61',
500: '#8e8b16',
950: '#000000',
},
}SCSS
$custom: #8e8b16; $custom-light: #b3ac61; $custom-dark: #000000;
JSON
{
"hex": "#8e8b16",
"rgb": {
"r": 142,
"g": 139,
"b": 22
},
"hsl": {
"h": 58.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.61974,
"c": 0.12744,
"h": 108
},
"luminance": 0.24274
}Semantic roles & 50–950 ramp
primary
#8E8B16
secondary
#3F42C1
accent
#3DF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A