#8D902A#8D902A
#8D902A is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.122 H 111.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8D902A |
|---|---|
| RGB | rgb(141, 144, 42) |
| HSL | hsl(62, 55%, 36%) |
| HSV | hsv(62, 71%, 56%) |
| CMYK | cmyk(2.1%, 0%, 70.8%, 43.5%) |
| CIE-LAB | lab(57.82, -14.14, 51.01) |
| CIE-LCH | lch(57.82, 52.93, 105.50°) |
| OKLab | oklab(63.16% -0.0438 0.1137) |
| OKLCH | oklch(63.16% 0.122 111.1) |
| XYZ | xyz(21.3764, 25.7770, 6.0394) |
| Luminance | 0.2578 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.74
Baby Poop Green
#8F9805
ΔE00 4.02
Pea Soup
#929901
ΔE00 4.40
Olive
#808000
ΔE00 6.05
Swamp Green
#748500
ΔE00 6.23
Ugly Green
#7A9703
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D902A #2D2A90
analogous
#90602A #8D902A #5A902A
triadic
#8D902A #2A8D90 #902A8D
tetradic
#8D902A #2A9060 #2D2A90 #902A5A
square
#8D902A #2A9060 #2D2A90 #902A5A
split-complementary
#8D902A #2A5A90 #602A90
monochromatic
#30310E #5F611C #8D902A #BBBF38 #CED163
Accessibility & contrast
On white
3.41
#8D902A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#8D902A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D902A
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D902A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D902A | 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)
#9B8919
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#97877C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8d902a; /* rgb */ color: rgb(141, 144, 42); /* oklch */ color: oklch(63.2% 0.122 111.1);
Tailwind
colors: {
custom: {
50: '#b1b06a',
500: '#8d902a',
950: '#000000',
},
}SCSS
$custom: #8d902a; $custom-light: #b1b06a; $custom-dark: #000000;
JSON
{
"hex": "#8d902a",
"rgb": {
"r": 141,
"g": 144,
"b": 42
},
"hsl": {
"h": 61.765,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.63156,
"c": 0.12186,
"h": 111.1
},
"luminance": 0.25776
}Semantic roles & 50–950 ramp
primary
#8D902A
secondary
#615EB7
accent
#4ADE4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A