#8D8D2E#8D8D2E
#8D8D2E is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.116 H 109.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8D2E |
|---|---|
| RGB | rgb(141, 141, 46) |
| HSL | hsl(60, 51%, 37%) |
| HSV | hsv(60, 67%, 55%) |
| CMYK | cmyk(0%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(56.99, -12.32, 48.54) |
| CIE-LCH | lch(56.99, 50.08, 104.24°) |
| OKLab | oklab(62.5% -0.0383 0.1092) |
| OKLCH | oklch(62.5% 0.116 109.3) |
| XYZ | xyz(21.0032, 24.9103, 6.2860) |
| Luminance | 0.2491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 5.06
Baby Poop Green
#8F9805
ΔE00 5.28
Olive
#808000
ΔE00 5.48
Pea Soup
#929901
ΔE00 5.60
Drab
#828344
ΔE00 6.24
Swamp Green
#748500
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8D2E #2E2E8D
analogous
#8D5E2E #8D8D2E #5E8D2E
triadic
#8D8D2E #2E8D8D #8D2E8D
tetradic
#8D8D2E #2E8D5E #2E2E8D #8D2E5E
square
#8D8D2E #2E8D5E #2E2E8D #8D2E5E
split-complementary
#8D8D2E #2E5E8D #5E2E8D
monochromatic
#313110 #5F5F1F #8D8D2E #BBBB3D #CECE68
Accessibility & contrast
On white
3.51
#8D8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#8D8D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8D2E
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8D2E | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#97847A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d8d2e; /* rgb */ color: rgb(141, 141, 46); /* oklch */ color: oklch(62.5% 0.116 109.3);
Tailwind
colors: {
custom: {
50: '#b1ae6c',
500: '#8d8d2e',
950: '#000000',
},
}SCSS
$custom: #8d8d2e; $custom-light: #b1ae6c; $custom-dark: #000000;
JSON
{
"hex": "#8d8d2e",
"rgb": {
"r": 141,
"g": 141,
"b": 46
},
"hsl": {
"h": 60,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.62497,
"c": 0.11571,
"h": 109.3
},
"luminance": 0.2491
}Semantic roles & 50–950 ramp
primary
#8D8D2E
secondary
#6262B5
accent
#4EDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A