#8D8E1B#8D8E1B
#8D8E1B is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.128 H 110.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8E1B |
|---|---|
| RGB | rgb(141, 142, 27) |
| HSL | hsl(61, 68%, 33%) |
| HSV | hsv(61, 81%, 56%) |
| CMYK | cmyk(0.7%, 0%, 81%, 44.3%) |
| CIE-LAB | lab(57.16, -13.77, 55.58) |
| CIE-LCH | lch(57.16, 57.26, 103.92°) |
| OKLab | oklab(62.6% -0.0442 0.1206) |
| OKLCH | oklch(62.6% 0.128 110.1) |
| XYZ | xyz(20.8561, 25.0885, 4.7806) |
| Luminance | 0.2509 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.80
Pea Soup
#929901
ΔE00 4.08
Baby Shit Green
#889717
ΔE00 4.15
Olive
#808000
ΔE00 5.10
Swamp Green
#748500
ΔE00 6.00
Shit Green
#758000
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8E1B #1C1B8E
analogous
#8E551B #8D8E1B #538E1B
triadic
#8D8E1B #1B8D8E #8E1B8D
tetradic
#8D8E1B #1B8E55 #1C1B8E #8E1B53
square
#8D8E1B #1B8E55 #1C1B8E #8E1B53
split-complementary
#8D8E1B #1B538E #551B8E
monochromatic
#272707 #5A5B11 #8D8E1B #C0C125 #DBDC47
Accessibility & contrast
On white
3.49
#8D8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#8D8E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8E1B
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8E1B | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d8e1b; /* rgb */ color: rgb(141, 142, 27); /* oklch */ color: oklch(62.6% 0.128 110.1);
Tailwind
colors: {
custom: {
50: '#b2ae63',
500: '#8d8e1b',
950: '#000000',
},
}SCSS
$custom: #8d8e1b; $custom-light: #b2ae63; $custom-dark: #000000;
JSON
{
"hex": "#8d8e1b",
"rgb": {
"r": 141,
"g": 142,
"b": 27
},
"hsl": {
"h": 60.522,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.62599,
"c": 0.12843,
"h": 110.1
},
"luminance": 0.25088
}Semantic roles & 50–950 ramp
primary
#8D8E1B
secondary
#4847BE
accent
#3DEB3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A