#8C8D2F#8C8D2F
#8C8D2F is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.115 H 109.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8D2F |
|---|---|
| RGB | rgb(140, 141, 47) |
| HSL | hsl(61, 50%, 37%) |
| HSV | hsv(61, 67%, 55%) |
| CMYK | cmyk(0.7%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(56.91, -12.70, 48.01) |
| CIE-LCH | lch(56.91, 49.66, 104.82°) |
| OKLab | oklab(62.42% -0.0392 0.1083) |
| OKLCH | oklch(62.42% 0.115 109.9) |
| XYZ | xyz(20.8538, 24.8310, 6.3831) |
| Luminance | 0.2483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.98
Baby Poop Green
#8F9805
ΔE00 5.35
Olive
#808000
ΔE00 5.53
Pea Soup
#929901
ΔE00 5.71
Drab
#828344
ΔE00 6.05
Swamp Green
#748500
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8D2F #302F8D
analogous
#8D5F2F #8C8D2F #5D8D2F
triadic
#8C8D2F #2F8C8D #8D2F8C
tetradic
#8C8D2F #2F8D5F #302F8D #8D2F5D
square
#8C8D2F #2F8D5F #302F8D #8D2F5D
split-complementary
#8C8D2F #2F5D8D #5F2F8D
monochromatic
#313110 #5E5F20 #8C8D2F #BABB3E #CCCD69
Accessibility & contrast
On white
3.52
#8C8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#8C8D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8D2F
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8D2F | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#96847A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8c8d2f; /* rgb */ color: rgb(140, 141, 47); /* oklch */ color: oklch(62.4% 0.115 109.9);
Tailwind
colors: {
custom: {
50: '#b0ae6d',
500: '#8c8d2f',
950: '#000000',
},
}SCSS
$custom: #8c8d2f; $custom-light: #b0ae6d; $custom-dark: #000000;
JSON
{
"hex": "#8c8d2f",
"rgb": {
"r": 140,
"g": 141,
"b": 47
},
"hsl": {
"h": 60.638,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.62416,
"c": 0.11515,
"h": 109.9
},
"luminance": 0.2483
}Semantic roles & 50–950 ramp
primary
#8C8D2F
secondary
#6464B4
accent
#4EDA50
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A