#9AA01F#9AA01F
#9AA01F is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.142 H 112.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9AA01F |
|---|---|
| RGB | rgb(154, 160, 31) |
| HSL | hsl(63, 68%, 37%) |
| HSV | hsv(63, 81%, 63%) |
| CMYK | cmyk(3.8%, 0%, 80.6%, 37.3%) |
| CIE-LAB | lab(63.43, -17.21, 60.36) |
| CIE-LCH | lch(63.43, 62.76, 105.92°) |
| OKLab | oklab(67.89% -0.0541 0.131) |
| OKLCH | oklch(67.89% 0.142 112.4) |
| XYZ | xyz(26.1455, 32.1112, 6.1169) |
| Luminance | 0.3211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.15
Pea Soup
#929901
ΔE00 2.51
Baby Poop Green
#8F9805
ΔE00 2.91
Pea Soup Green
#94A617
ΔE00 3.01
Puke
#A5A502
ΔE00 3.22
Baby Shit Green
#889717
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AA01F #251FA0
analogous
#A0661F #9AA01F #59A01F
triadic
#9AA01F #1F9AA0 #A01F9A
tetradic
#9AA01F #1FA066 #251FA0 #A01F59
square
#9AA01F #1FA066 #251FA0 #A01F59
split-complementary
#9AA01F #1F59A0 #661FA0
monochromatic
#37390B #696D15 #9AA01F #CBD329 #D9DF5A
Accessibility & contrast
On white
2.83
#9AA01F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#9AA01F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AA01F
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AA01F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AA01F | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#A59689
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9aa01f; /* rgb */ color: rgb(154, 160, 31); /* oklch */ color: oklch(67.9% 0.142 112.4);
Tailwind
colors: {
custom: {
50: '#bbbb68',
500: '#9aa01f',
950: '#000000',
},
}SCSS
$custom: #9aa01f; $custom-light: #bbbb68; $custom-dark: #000000;
JSON
{
"hex": "#9aa01f",
"rgb": {
"r": 154,
"g": 160,
"b": 31
},
"hsl": {
"h": 62.791,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.67889,
"c": 0.14175,
"h": 112.4
},
"luminance": 0.32111
}Semantic roles & 50–950 ramp
primary
#9AA01F
secondary
#5D58C3
accent
#3DEA45
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A