#9D982C#9D982C
#9D982C is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.126 H 106.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9D982C |
|---|---|
| RGB | rgb(157, 152, 44) |
| HSL | hsl(57, 56%, 39%) |
| HSV | hsv(57, 72%, 62%) |
| CMYK | cmyk(0%, 3.2%, 72%, 38.4%) |
| CIE-LAB | lab(61.49, -11.14, 54.30) |
| CIE-LCH | lch(61.49, 55.43, 101.60°) |
| OKLab | oklab(66.42% -0.0362 0.1205) |
| OKLCH | oklch(66.42% 0.126 106.7) |
| XYZ | xyz(25.5885, 29.8073, 6.7879) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.88
Baby Poop Green
#8F9805
ΔE00 4.21
Vomit
#A2A415
ΔE00 4.54
Puke
#A5A502
ΔE00 5.20
Baby Shit Green
#889717
ΔE00 5.44
Pea Soup Green
#94A617
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D982C #2C319D
analogous
#9D602C #9D982C #6A9D2C
triadic
#9D982C #2C9D98 #982C9D
tetradic
#9D982C #2C9D60 #2C319D #9D2C6A
square
#9D982C #2C9D60 #2C319D #9D2C6A
split-complementary
#9D982C #2C6A9D #602C9D
monochromatic
#3D3B11 #6D6A1F #9D982C #C9C33D #D6D26D
Accessibility & contrast
On white
3.02
#9D982C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#9D982C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D982C
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D982C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D982C | 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)
#A5921A
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9d982c; /* rgb */ color: rgb(157, 152, 44); /* oklch */ color: oklch(66.4% 0.126 106.7);
Tailwind
colors: {
custom: {
50: '#bdb66d',
500: '#9d982c',
950: '#000000',
},
}SCSS
$custom: #9d982c; $custom-light: #bdb66d; $custom-dark: #000000;
JSON
{
"hex": "#9d982c",
"rgb": {
"r": 157,
"g": 152,
"b": 44
},
"hsl": {
"h": 57.345,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.66417,
"c": 0.12576,
"h": 106.7
},
"luminance": 0.29806
}Semantic roles & 50–950 ramp
primary
#9D982C
secondary
#686BBD
accent
#4FE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A