#9AAA31#9AAA31
#9AAA31 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.143 H 116.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9AAA31 |
|---|---|
| RGB | rgb(154, 170, 49) |
| HSL | hsl(68, 55%, 43%) |
| HSV | hsv(68, 71%, 67%) |
| CMYK | cmyk(9.4%, 0%, 71.2%, 33.3%) |
| CIE-LAB | lab(66.40, -21.46, 57.15) |
| CIE-LCH | lch(66.40, 61.04, 110.58°) |
| OKLab | oklab(70.3% -0.0643 0.1274) |
| OKLCH | oklch(70.3% 0.143 116.8) |
| XYZ | xyz(28.2562, 35.8416, 8.3347) |
| Luminance | 0.3584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.17
Barf Green
#94AC02
ΔE00 2.97
Puke Green
#9AAE07
ΔE00 3.01
Pea Green
#8EAB12
ΔE00 3.07
Icky Green
#8FAE22
ΔE00 3.15
Booger
#9BB53C
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AAA31 #4131AA
analogous
#AA7D31 #9AAA31 #5DAA31
triadic
#9AAA31 #319AAA #AA319A
tetradic
#9AAA31 #31AA7D #4131AA #AA315D
square
#9AAA31 #31AA7D #4131AA #AA315D
split-complementary
#9AAA31 #315DAA #7D31AA
monochromatic
#444B16 #6F7A23 #9AAA31 #BBCC4D #CDD97C
Accessibility & contrast
On white
2.57
#9AAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#9AAA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AAA31
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AAA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AAA31 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9aaa31; /* rgb */ color: rgb(154, 170, 49); /* oklch */ color: oklch(70.3% 0.143 116.8);
Tailwind
colors: {
custom: {
50: '#bbc371',
500: '#9aaa31',
950: '#000000',
},
}SCSS
$custom: #9aaa31; $custom-light: #bbc371; $custom-dark: #000000;
JSON
{
"hex": "#9aaa31",
"rgb": {
"r": 154,
"g": 170,
"b": 49
},
"hsl": {
"h": 67.934,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.70298,
"c": 0.14274,
"h": 116.8
},
"luminance": 0.35841
}Semantic roles & 50–950 ramp
primary
#9AAA31
secondary
#7F75C2
accent
#49DF5D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B