#9FAA31#9FAA31
#9FAA31 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.7% C 0.141 H 114.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAA31 |
|---|---|
| RGB | rgb(159, 170, 49) |
| HSL | hsl(65, 55%, 43%) |
| HSV | hsv(65, 71%, 67%) |
| CMYK | cmyk(6.5%, 0%, 71.2%, 33.3%) |
| CIE-LAB | lab(66.78, -19.33, 57.65) |
| CIE-LCH | lch(66.78, 60.81, 108.53°) |
| OKLab | oklab(70.7% -0.0587 0.1284) |
| OKLCH | oklch(70.7% 0.141 114.6) |
| XYZ | xyz(29.2280, 36.3427, 8.3803) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.58
Puke Green
#9AAE07
ΔE00 3.12
Barf Green
#94AC02
ΔE00 3.47
Vomit
#A2A415
ΔE00 3.47
Pea Green
#8EAB12
ΔE00 4.02
Icky Green
#8FAE22
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAA31 #3C31AA
analogous
#AA7931 #9FAA31 #62AA31
triadic
#9FAA31 #319FAA #AA319F
tetradic
#9FAA31 #31AA79 #3C31AA #AA3162
square
#9FAA31 #31AA79 #3C31AA #AA3162
split-complementary
#9FAA31 #3162AA #7931AA
monochromatic
#464B16 #737A23 #9FAA31 #C0CC4D #D1D97C
Accessibility & contrast
On white
2.54
#9FAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#9FAA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAA31
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAA31 | 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)
#B6A11C
Deuteranopia (green-blind)
#B6A43A
Tritanopia (blue-blind)
#A9A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9faa31; /* rgb */ color: rgb(159, 170, 49); /* oklch */ color: oklch(70.7% 0.141 114.6);
Tailwind
colors: {
custom: {
50: '#bfc371',
500: '#9faa31',
950: '#000000',
},
}SCSS
$custom: #9faa31; $custom-light: #bfc371; $custom-dark: #000000;
JSON
{
"hex": "#9faa31",
"rgb": {
"r": 159,
"g": 170,
"b": 49
},
"hsl": {
"h": 65.455,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.707,
"c": 0.14112,
"h": 114.6
},
"luminance": 0.36342
}Semantic roles & 50–950 ramp
primary
#9FAA31
secondary
#7C75C2
accent
#49DF57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B