#8D902F#8D902F
#8D902F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.118 H 111.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8D902F |
|---|---|
| RGB | rgb(141, 144, 47) |
| HSL | hsl(62, 51%, 37%) |
| HSV | hsv(62, 67%, 56%) |
| CMYK | cmyk(2.1%, 0%, 67.4%, 43.5%) |
| CIE-LAB | lab(57.86, -13.85, 49.02) |
| CIE-LCH | lch(57.86, 50.94, 105.78°) |
| OKLab | oklab(63.2% -0.0425 0.1104) |
| OKLCH | oklch(63.2% 0.118 111.1) |
| XYZ | xyz(21.4715, 25.8150, 6.5405) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.05
Baby Poop Green
#8F9805
ΔE00 4.50
Pea Soup
#929901
ΔE00 4.88
Olive
#808000
ΔE00 6.29
Swamp Green
#748500
ΔE00 6.40
Ugly Green
#7A9703
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D902F #322F90
analogous
#90632F #8D902F #5C902F
triadic
#8D902F #2F8D90 #902F8D
tetradic
#8D902F #2F9063 #322F90 #902F5C
square
#8D902F #2F9063 #322F90 #902F5C
split-complementary
#8D902F #2F5C90 #632F90
monochromatic
#333411 #606220 #8D902F #BABE3E #CCCF6B
Accessibility & contrast
On white
3.41
#8D902F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#8D902F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D902F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D902F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D902F | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#97877C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8d902f; /* rgb */ color: rgb(141, 144, 47); /* oklch */ color: oklch(63.2% 0.118 111.1);
Tailwind
colors: {
custom: {
50: '#b1b06d',
500: '#8d902f',
950: '#000000',
},
}SCSS
$custom: #8d902f; $custom-light: #b1b06d; $custom-dark: #000000;
JSON
{
"hex": "#8d902f",
"rgb": {
"r": 141,
"g": 144,
"b": 47
},
"hsl": {
"h": 61.856,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.63196,
"c": 0.11826,
"h": 111.1
},
"luminance": 0.25814
}Semantic roles & 50–950 ramp
primary
#8D902F
secondary
#6865B6
accent
#4EDA52
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A