#9AAF2B#9AAF2B
#9AAF2B is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.4% C 0.152 H 118.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9AAF2B |
|---|---|
| RGB | rgb(154, 175, 43) |
| HSL | hsl(70, 61%, 43%) |
| HSV | hsv(70, 75%, 69%) |
| CMYK | cmyk(12%, 0%, 75.4%, 31.4%) |
| CIE-LAB | lab(67.80, -24.25, 60.61) |
| CIE-LCH | lch(67.80, 65.29, 111.80°) |
| OKLab | oklab(71.41% -0.0726 0.1337) |
| OKLCH | oklch(71.41% 0.152 118.5) |
| XYZ | xyz(29.0931, 37.7046, 8.0301) |
| Luminance | 0.3770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.94
Puke Green
#9AAE07
ΔE00 2.14
Icky Green
#8FAE22
ΔE00 2.17
Barf Green
#94AC02
ΔE00 2.19
Booger
#9BB53C
ΔE00 2.40
Pea Green
#8EAB12
ΔE00 2.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AAF2B #402BAF
analogous
#AF822B #9AAF2B #58AF2B
triadic
#9AAF2B #2B9AAF #AF2B9A
tetradic
#9AAF2B #2BAF82 #402BAF #AF2B58
square
#9AAF2B #2BAF82 #402BAF #AF2B58
split-complementary
#9AAF2B #2B58AF #822BAF
monochromatic
#444D13 #6F7E1F #9AAF2B #BBD146 #CDDE77
Accessibility & contrast
On white
2.46
#9AAF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#9AAF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AAF2B
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AAF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AAF2B | 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)
#BBA50C
Deuteranopia (green-blind)
#B8A637
Tritanopia (blue-blind)
#A3A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9aaf2b; /* rgb */ color: rgb(154, 175, 43); /* oklch */ color: oklch(71.4% 0.152 118.5);
Tailwind
colors: {
custom: {
50: '#bbc66f',
500: '#9aaf2b',
950: '#000000',
},
}SCSS
$custom: #9aaf2b; $custom-light: #bbc66f; $custom-dark: #000000;
JSON
{
"hex": "#9aaf2b",
"rgb": {
"r": 154,
"g": 175,
"b": 43
},
"hsl": {
"h": 69.545,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.71415,
"c": 0.15213,
"h": 118.5
},
"luminance": 0.37704
}Semantic roles & 50–950 ramp
primary
#9AAF2B
secondary
#7E70C5
accent
#44E45E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B