#8D8F2E#8D8F2E
#8D8F2E is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.118 H 110.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8F2E |
|---|---|
| RGB | rgb(141, 143, 46) |
| HSL | hsl(61, 51%, 37%) |
| HSV | hsv(61, 68%, 56%) |
| CMYK | cmyk(1.4%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(57.56, -13.38, 49.13) |
| CIE-LCH | lch(57.56, 50.92, 105.23°) |
| OKLab | oklab(62.96% -0.0413 0.1104) |
| OKLCH | oklch(62.96% 0.118 110.5) |
| XYZ | xyz(21.3008, 25.5055, 6.3852) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.33
Baby Poop Green
#8F9805
ΔE00 4.67
Pea Soup
#929901
ΔE00 5.03
Olive
#808000
ΔE00 5.97
Swamp Green
#748500
ΔE00 6.33
Drab
#828344
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8F2E #302E8F
analogous
#8F612E #8D8F2E #5D8F2E
triadic
#8D8F2E #2E8D8F #8F2E8D
tetradic
#8D8F2E #2E8F61 #302E8F #8F2E5D
square
#8D8F2E #2E8F61 #302E8F #8F2E5D
split-complementary
#8D8F2E #2E5D8F #612E8F
monochromatic
#323210 #5F611F #8D8F2E #BBBD3D #CDCF69
Accessibility & contrast
On white
3.44
#8D8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#8D8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8F2E
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8F2E | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8920
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8d8f2e; /* rgb */ color: rgb(141, 143, 46); /* oklch */ color: oklch(63.0% 0.118 110.5);
Tailwind
colors: {
custom: {
50: '#b1af6d',
500: '#8d8f2e',
950: '#000000',
},
}SCSS
$custom: #8d8f2e; $custom-light: #b1af6d; $custom-dark: #000000;
JSON
{
"hex": "#8d8f2e",
"rgb": {
"r": 141,
"g": 143,
"b": 46
},
"hsl": {
"h": 61.237,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.62957,
"c": 0.1179,
"h": 110.5
},
"luminance": 0.25505
}Semantic roles & 50–950 ramp
primary
#8D8F2E
secondary
#6563B6
accent
#4DDB50
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A