#9D982E#9D982E
#9D982E is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.124 H 106.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9D982E |
|---|---|
| RGB | rgb(157, 152, 46) |
| HSL | hsl(57, 55%, 40%) |
| HSV | hsv(57, 71%, 62%) |
| CMYK | cmyk(0%, 3.2%, 70.7%, 38.4%) |
| CIE-LAB | lab(61.50, -11.04, 53.54) |
| CIE-LCH | lch(61.50, 54.66, 101.65°) |
| OKLab | oklab(66.43% -0.0357 0.1192) |
| OKLCH | oklch(66.43% 0.124 106.7) |
| XYZ | xyz(25.6270, 29.8227, 6.9907) |
| Luminance | 0.2982 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.02
Baby Poop Green
#8F9805
ΔE00 4.32
Vomit
#A2A415
ΔE00 4.67
Puke
#A5A502
ΔE00 5.34
Baby Shit Green
#889717
ΔE00 5.48
Pea Soup Green
#94A617
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D982E #2E339D
analogous
#9D602E #9D982E #6B9D2E
triadic
#9D982E #2E9D98 #982E9D
tetradic
#9D982E #2E9D60 #2E339D #9D2E6B
square
#9D982E #2E9D60 #2E339D #9D2E6B
split-complementary
#9D982E #2E6B9D #602E9D
monochromatic
#3E3C12 #6E6A20 #9D982E #C7C141 #D5D170
Accessibility & contrast
On white
3.02
#9D982E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#9D982E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D982E
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D982E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D982E | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921D
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9d982e; /* rgb */ color: rgb(157, 152, 46); /* oklch */ color: oklch(66.4% 0.124 106.7);
Tailwind
colors: {
custom: {
50: '#bdb66e',
500: '#9d982e',
950: '#000000',
},
}SCSS
$custom: #9d982e; $custom-light: #bdb66e; $custom-dark: #000000;
JSON
{
"hex": "#9d982e",
"rgb": {
"r": 157,
"g": 152,
"b": 46
},
"hsl": {
"h": 57.297,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.66432,
"c": 0.12443,
"h": 106.7
},
"luminance": 0.29822
}Semantic roles & 50–950 ramp
primary
#9D982E
secondary
#6A6EBD
accent
#50DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A