#8E8E1B#8E8E1B
#8E8E1B is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.128 H 109.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8E1B |
|---|---|
| RGB | rgb(142, 142, 27) |
| HSL | hsl(60, 68%, 33%) |
| HSV | hsv(60, 81%, 56%) |
| CMYK | cmyk(0%, 0%, 81%, 44.3%) |
| CIE-LAB | lab(57.25, -13.32, 55.69) |
| CIE-LCH | lch(57.25, 57.26, 103.45°) |
| OKLab | oklab(62.69% -0.043 0.1208) |
| OKLCH | oklch(62.69% 0.128 109.6) |
| XYZ | xyz(21.0270, 25.1766, 4.7886) |
| Luminance | 0.2518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.88
Pea Soup
#929901
ΔE00 4.10
Baby Shit Green
#889717
ΔE00 4.35
Olive
#808000
ΔE00 5.15
Swamp Green
#748500
ΔE00 6.25
Shit Green
#758000
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8E1B #1B1B8E
analogous
#8E541B #8E8E1B #548E1B
triadic
#8E8E1B #1B8E8E #8E1B8E
tetradic
#8E8E1B #1B8E54 #1B1B8E #8E1B54
square
#8E8E1B #1B8E54 #1B1B8E #8E1B54
split-complementary
#8E8E1B #1B548E #541B8E
monochromatic
#272707 #5B5B11 #8E8E1B #C1C125 #DCDC47
Accessibility & contrast
On white
3.48
#8E8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#8E8E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8E1B
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8E1B | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8e8e1b; /* rgb */ color: rgb(142, 142, 27); /* oklch */ color: oklch(62.7% 0.128 109.6);
Tailwind
colors: {
custom: {
50: '#b3ae63',
500: '#8e8e1b',
950: '#000000',
},
}SCSS
$custom: #8e8e1b; $custom-light: #b3ae63; $custom-dark: #000000;
JSON
{
"hex": "#8e8e1b",
"rgb": {
"r": 142,
"g": 142,
"b": 27
},
"hsl": {
"h": 60,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.62688,
"c": 0.1282,
"h": 109.6
},
"luminance": 0.25176
}Semantic roles & 50–950 ramp
primary
#8E8E1B
secondary
#4747BE
accent
#3DEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A