#8D8D1E#8D8D1E
#8D8D1E is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.126 H 109.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8D1E |
|---|---|
| RGB | rgb(141, 141, 30) |
| HSL | hsl(60, 65%, 34%) |
| HSV | hsv(60, 79%, 55%) |
| CMYK | cmyk(0%, 0%, 78.7%, 44.7%) |
| CIE-LAB | lab(56.89, -13.13, 54.41) |
| CIE-LCH | lch(56.89, 55.97, 103.56°) |
| OKLab | oklab(62.38% -0.0421 0.1187) |
| OKLCH | oklch(62.38% 0.126 109.6) |
| XYZ | xyz(20.7445, 24.8068, 4.9235) |
| Luminance | 0.2481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.28
Pea Soup
#929901
ΔE00 4.54
Baby Shit Green
#889717
ΔE00 4.55
Olive
#808000
ΔE00 4.85
Swamp Green
#748500
ΔE00 6.01
Shit Green
#758000
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8D1E #1E1E8D
analogous
#8D551E #8D8D1E #558D1E
triadic
#8D8D1E #1E8D8D #8D1E8D
tetradic
#8D8D1E #1E8D55 #1E1E8D #8D1E55
square
#8D8D1E #1E8D55 #1E1E8D #8D1E55
split-complementary
#8D8D1E #1E558D #551E8D
monochromatic
#282809 #5B5B13 #8D8D1E #BFBF29 #D9D94C
Accessibility & contrast
On white
3.52
#8D8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#8D8D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8D1E
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8D1E | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#978478
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8d8d1e; /* rgb */ color: rgb(141, 141, 30); /* oklch */ color: oklch(62.4% 0.126 109.6);
Tailwind
colors: {
custom: {
50: '#b2ae64',
500: '#8d8d1e',
950: '#000000',
},
}SCSS
$custom: #8d8d1e; $custom-light: #b2ae64; $custom-dark: #000000;
JSON
{
"hex": "#8d8d1e",
"rgb": {
"r": 141,
"g": 141,
"b": 30
},
"hsl": {
"h": 60,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.62383,
"c": 0.12592,
"h": 109.6
},
"luminance": 0.24806
}Semantic roles & 50–950 ramp
primary
#8D8D1E
secondary
#4B4BBC
accent
#40E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A