#9C982A#9C982A
#9C982A is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.3% C 0.127 H 107.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9C982A |
|---|---|
| RGB | rgb(156, 152, 42) |
| HSL | hsl(58, 58%, 39%) |
| HSV | hsv(58, 73%, 61%) |
| CMYK | cmyk(0%, 2.6%, 73.1%, 38.8%) |
| CIE-LAB | lab(61.39, -11.69, 54.92) |
| CIE-LCH | lch(61.39, 56.15, 102.02°) |
| OKLab | oklab(66.31% -0.0378 0.1214) |
| OKLCH | oklch(66.31% 0.127 107.3) |
| XYZ | xyz(25.3574, 29.6924, 6.5855) |
| Luminance | 0.2969 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.55
Baby Poop Green
#8F9805
ΔE00 3.87
Vomit
#A2A415
ΔE00 4.39
Puke
#A5A502
ΔE00 5.08
Baby Shit Green
#889717
ΔE00 5.13
Pea Soup Green
#94A617
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C982A #2A2E9C
analogous
#9C5F2A #9C982A #679C2A
triadic
#9C982A #2A9C98 #982A9C
tetradic
#9C982A #2A9C5F #2A2E9C #9C2A67
square
#9C982A #2A9C5F #2A2E9C #9C2A67
split-complementary
#9C982A #2A679C #5F2A9C
monochromatic
#3C3A10 #6C691D #9C982A #CAC539 #D7D36A
Accessibility & contrast
On white
3.03
#9C982A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#9C982A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C982A
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C982A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C982A | 1.00 | 3.03 | 6.94 | 6.94 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59216
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#A88E83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9c982a; /* rgb */ color: rgb(156, 152, 42); /* oklch */ color: oklch(66.3% 0.127 107.3);
Tailwind
colors: {
custom: {
50: '#bdb66c',
500: '#9c982a',
950: '#000000',
},
}SCSS
$custom: #9c982a; $custom-light: #bdb66c; $custom-dark: #000000;
JSON
{
"hex": "#9c982a",
"rgb": {
"r": 156,
"g": 152,
"b": 42
},
"hsl": {
"h": 57.895,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.66312,
"c": 0.1272,
"h": 107.3
},
"luminance": 0.29692
}Semantic roles & 50–950 ramp
primary
#9C982A
secondary
#6568BD
accent
#4CE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A