#9D982F#9D982F
#9D982F is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.124 H 106.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9D982F |
|---|---|
| RGB | rgb(157, 152, 47) |
| HSL | hsl(57, 54%, 40%) |
| HSV | hsv(57, 70%, 62%) |
| CMYK | cmyk(0%, 3.2%, 70.1%, 38.4%) |
| CIE-LAB | lab(61.51, -10.99, 53.15) |
| CIE-LCH | lch(61.51, 54.27, 101.68°) |
| OKLab | oklab(66.44% -0.0354 0.1186) |
| OKLCH | oklch(66.44% 0.124 106.6) |
| XYZ | xyz(25.6469, 29.8307, 7.0957) |
| Luminance | 0.2983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.09
Baby Poop Green
#8F9805
ΔE00 4.38
Vomit
#A2A415
ΔE00 4.74
Puke
#A5A502
ΔE00 5.42
Baby Shit Green
#889717
ΔE00 5.50
Pea Soup Green
#94A617
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D982F #2F349D
analogous
#9D612F #9D982F #6B9D2F
triadic
#9D982F #2F9D98 #982F9D
tetradic
#9D982F #2F9D61 #2F349D #9D2F6B
square
#9D982F #2F9D61 #2F349D #9D2F6B
split-complementary
#9D982F #2F6B9D #612F9D
monochromatic
#3F3D13 #6E6A21 #9D982F #C7C143 #D5D072
Accessibility & contrast
On white
3.01
#9D982F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#9D982F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D982F
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D982F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D982F | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921F
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#A88E83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9d982f; /* rgb */ color: rgb(157, 152, 47); /* oklch */ color: oklch(66.4% 0.124 106.6);
Tailwind
colors: {
custom: {
50: '#bdb66e',
500: '#9d982f',
950: '#000000',
},
}SCSS
$custom: #9d982f; $custom-light: #bdb66e; $custom-dark: #000000;
JSON
{
"hex": "#9d982f",
"rgb": {
"r": 157,
"g": 152,
"b": 47
},
"hsl": {
"h": 57.273,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.6644,
"c": 0.12374,
"h": 106.6
},
"luminance": 0.2983
}Semantic roles & 50–950 ramp
primary
#9D982F
secondary
#6B6FBC
accent
#51DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B