#9A982B#9A982B
#9A982B is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.1% C 0.127 H 108.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9A982B |
|---|---|
| RGB | rgb(154, 152, 43) |
| HSL | hsl(59, 56%, 39%) |
| HSV | hsv(59, 72%, 60%) |
| CMYK | cmyk(0%, 1.3%, 72.1%, 39.6%) |
| CIE-LAB | lab(61.22, -12.53, 54.33) |
| CIE-LCH | lch(61.22, 55.75, 102.99°) |
| OKLab | oklab(66.14% -0.04 0.1204) |
| OKLCH | oklch(66.14% 0.127 108.4) |
| XYZ | xyz(24.9916, 29.5017, 6.6630) |
| Luminance | 0.2950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.26
Baby Poop Green
#8F9805
ΔE00 3.49
Vomit
#A2A415
ΔE00 4.45
Baby Shit Green
#889717
ΔE00 4.59
Puke
#A5A502
ΔE00 5.23
Pea Soup Green
#94A617
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A982B #2B2D9A
analogous
#9A602B #9A982B #649A2B
triadic
#9A982B #2B9A98 #982B9A
tetradic
#9A982B #2B9A60 #2B2D9A #9A2B64
square
#9A982B #2B9A60 #2B2D9A #9A2B64
split-complementary
#9A982B #2B649A #602B9A
monochromatic
#3A3A10 #6A691E #9A982B #C8C53A #D5D36A
Accessibility & contrast
On white
3.04
#9A982B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#9A982B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A982B
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A982B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A982B | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#A69633
Tritanopia (blue-blind)
#A58E83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9a982b; /* rgb */ color: rgb(154, 152, 43); /* oklch */ color: oklch(66.1% 0.127 108.4);
Tailwind
colors: {
custom: {
50: '#bbb66c',
500: '#9a982b',
950: '#000000',
},
}SCSS
$custom: #9a982b; $custom-light: #bbb66c; $custom-dark: #000000;
JSON
{
"hex": "#9a982b",
"rgb": {
"r": 154,
"g": 152,
"b": 43
},
"hsl": {
"h": 58.919,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.6614,
"c": 0.1269,
"h": 108.4
},
"luminance": 0.29501
}Semantic roles & 50–950 ramp
primary
#9A982B
secondary
#6566BC
accent
#4BE048
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A