#8D8D2F#8D8D2F
#8D8D2F is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.115 H 109.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8D2F |
|---|---|
| RGB | rgb(141, 141, 47) |
| HSL | hsl(60, 50%, 37%) |
| HSV | hsv(60, 67%, 55%) |
| CMYK | cmyk(0%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(57.00, -12.25, 48.13) |
| CIE-LCH | lch(57.00, 49.66, 104.28°) |
| OKLab | oklab(62.51% -0.038 0.1085) |
| OKLCH | oklch(62.51% 0.115 109.3) |
| XYZ | xyz(21.0232, 24.9183, 6.3911) |
| Luminance | 0.2492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 5.12
Baby Poop Green
#8F9805
ΔE00 5.38
Olive
#808000
ΔE00 5.55
Pea Soup
#929901
ΔE00 5.70
Drab
#828344
ΔE00 6.14
Swamp Green
#748500
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8D2F #2F2F8D
analogous
#8D5E2F #8D8D2F #5E8D2F
triadic
#8D8D2F #2F8D8D #8D2F8D
tetradic
#8D8D2F #2F8D5E #2F2F8D #8D2F5E
square
#8D8D2F #2F8D5E #2F2F8D #8D2F5E
split-complementary
#8D8D2F #2F5E8D #5E2F8D
monochromatic
#313110 #5F5F20 #8D8D2F #BBBB3E #CDCD69
Accessibility & contrast
On white
3.51
#8D8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#8D8D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8D2F
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8D2F | 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)
#988722
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#97847A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8d8d2f; /* rgb */ color: rgb(141, 141, 47); /* oklch */ color: oklch(62.5% 0.115 109.3);
Tailwind
colors: {
custom: {
50: '#b1ae6d',
500: '#8d8d2f',
950: '#000000',
},
}SCSS
$custom: #8d8d2f; $custom-light: #b1ae6d; $custom-dark: #000000;
JSON
{
"hex": "#8d8d2f",
"rgb": {
"r": 141,
"g": 141,
"b": 47
},
"hsl": {
"h": 60,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.62505,
"c": 0.11495,
"h": 109.3
},
"luminance": 0.24918
}Semantic roles & 50–950 ramp
primary
#8D8D2F
secondary
#6464B4
accent
#4EDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A