#9FAA2F#9FAA2F
#9FAA2F is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.7% C 0.142 H 114.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAA2F |
|---|---|
| RGB | rgb(159, 170, 47) |
| HSL | hsl(65, 57%, 43%) |
| HSV | hsv(65, 72%, 67%) |
| CMYK | cmyk(6.5%, 0%, 72.4%, 33.3%) |
| CIE-LAB | lab(66.77, -19.43, 58.37) |
| CIE-LCH | lch(66.77, 61.52, 108.41°) |
| OKLab | oklab(70.69% -0.0591 0.1295) |
| OKLCH | oklch(70.69% 0.142 114.5) |
| XYZ | xyz(29.1867, 36.3262, 8.1629) |
| Luminance | 0.3633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.49
Puke Green
#9AAE07
ΔE00 2.96
Vomit
#A2A415
ΔE00 3.34
Barf Green
#94AC02
ΔE00 3.35
Pea Green
#8EAB12
ΔE00 3.97
Puke
#A5A502
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAA2F #3A2FAA
analogous
#AA782F #9FAA2F #61AA2F
triadic
#9FAA2F #2F9FAA #AA2F9F
tetradic
#9FAA2F #2FAA78 #3A2FAA #AA2F61
square
#9FAA2F #2FAA78 #3A2FAA #AA2F61
split-complementary
#9FAA2F #2F61AA #782FAA
monochromatic
#454A14 #727A22 #9FAA2F #C1CD49 #D1DA79
Accessibility & contrast
On white
2.54
#9FAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#9FAA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAA2F
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAA2F | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A118
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#AAA092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9faa2f; /* rgb */ color: rgb(159, 170, 47); /* oklch */ color: oklch(70.7% 0.142 114.5);
Tailwind
colors: {
custom: {
50: '#bfc370',
500: '#9faa2f',
950: '#000000',
},
}SCSS
$custom: #9faa2f; $custom-light: #bfc370; $custom-dark: #000000;
JSON
{
"hex": "#9faa2f",
"rgb": {
"r": 159,
"g": 170,
"b": 47
},
"hsl": {
"h": 65.366,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.70685,
"c": 0.14239,
"h": 114.5
},
"luminance": 0.36326
}Semantic roles & 50–950 ramp
primary
#9FAA2F
secondary
#7A72C2
accent
#48E055
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B