#9FAA2B#9FAA2B
#9FAA2B is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.7% C 0.145 H 114.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAA2B |
|---|---|
| RGB | rgb(159, 170, 43) |
| HSL | hsl(65, 60%, 42%) |
| HSV | hsv(65, 75%, 67%) |
| CMYK | cmyk(6.5%, 0%, 74.7%, 33.3%) |
| CIE-LAB | lab(66.74, -19.63, 59.75) |
| CIE-LCH | lch(66.74, 62.89, 108.19°) |
| OKLab | oklab(70.66% -0.0601 0.1317) |
| OKLCH | oklch(70.66% 0.145 114.5) |
| XYZ | xyz(29.1097, 36.2953, 7.7573) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.34
Puke Green
#9AAE07
ΔE00 2.69
Vomit
#A2A415
ΔE00 3.10
Barf Green
#94AC02
ΔE00 3.14
Pea Green
#8EAB12
ΔE00 3.90
Puke
#A5A502
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAA2B #362BAA
analogous
#AA762B #9FAA2B #60AA2B
triadic
#9FAA2B #2B9FAA #AA2B9F
tetradic
#9FAA2B #2BAA76 #362BAA #AA2B60
square
#9FAA2B #2BAA76 #362BAA #AA2B60
split-complementary
#9FAA2B #2B60AA #762BAA
monochromatic
#444812 #71791F #9FAA2B #C3CF43 #D3DC74
Accessibility & contrast
On white
2.54
#9FAA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#9FAA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAA2B
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAA2B | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A10F
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#AAA092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9faa2b; /* rgb */ color: rgb(159, 170, 43); /* oklch */ color: oklch(70.7% 0.145 114.5);
Tailwind
colors: {
custom: {
50: '#bfc36e',
500: '#9faa2b',
950: '#000000',
},
}SCSS
$custom: #9faa2b; $custom-light: #bfc36e; $custom-dark: #000000;
JSON
{
"hex": "#9faa2b",
"rgb": {
"r": 159,
"g": 170,
"b": 43
},
"hsl": {
"h": 65.197,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.70659,
"c": 0.14478,
"h": 114.5
},
"luminance": 0.36295
}Semantic roles & 50–950 ramp
primary
#9FAA2B
secondary
#756EC3
accent
#45E353
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B