#9AAF2A#9AAF2A
#9AAF2A is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.4% C 0.153 H 118.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9AAF2A |
|---|---|
| RGB | rgb(154, 175, 42) |
| HSL | hsl(69, 61%, 43%) |
| HSV | hsv(69, 76%, 69%) |
| CMYK | cmyk(12%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(67.80, -24.30, 60.94) |
| CIE-LCH | lch(67.80, 65.60, 111.74°) |
| OKLab | oklab(71.41% -0.0728 0.1342) |
| OKLCH | oklch(71.41% 0.153 118.5) |
| XYZ | xyz(29.0750, 37.6974, 7.9347) |
| Luminance | 0.3770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.91
Puke Green
#9AAE07
ΔE00 2.05
Barf Green
#94AC02
ΔE00 2.12
Icky Green
#8FAE22
ΔE00 2.18
Pea Green
#8EAB12
ΔE00 2.38
Booger
#9BB53C
ΔE00 2.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AAF2A #3F2AAF
analogous
#AF822A #9AAF2A #57AF2A
triadic
#9AAF2A #2A9AAF #AF2A9A
tetradic
#9AAF2A #2AAF82 #3F2AAF #AF2A57
square
#9AAF2A #2AAF82 #3F2AAF #AF2A57
split-complementary
#9AAF2A #2A57AF #822AAF
monochromatic
#434C12 #6F7E1E #9AAF2A #BCD244 #CDDE75
Accessibility & contrast
On white
2.46
#9AAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#9AAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AAF2A
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AAF2A | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA508
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#A3A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9aaf2a; /* rgb */ color: rgb(154, 175, 42); /* oklch */ color: oklch(71.4% 0.153 118.5);
Tailwind
colors: {
custom: {
50: '#bbc66e',
500: '#9aaf2a',
950: '#000000',
},
}SCSS
$custom: #9aaf2a; $custom-light: #bbc66e; $custom-dark: #000000;
JSON
{
"hex": "#9aaf2a",
"rgb": {
"r": 154,
"g": 175,
"b": 42
},
"hsl": {
"h": 69.474,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.71409,
"c": 0.15269,
"h": 118.5
},
"luminance": 0.37697
}Semantic roles & 50–950 ramp
primary
#9AAF2A
secondary
#7D6FC6
accent
#43E45D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B