#9AAF27#9AAF27
#9AAF27 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.4% C 0.154 H 118.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9AAF27 |
|---|---|
| RGB | rgb(154, 175, 39) |
| HSL | hsl(69, 64%, 42%) |
| HSV | hsv(69, 78%, 69%) |
| CMYK | cmyk(12%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(67.78, -24.43, 61.88) |
| CIE-LCH | lch(67.78, 66.53, 111.54°) |
| OKLab | oklab(71.39% -0.0734 0.1357) |
| OKLCH | oklch(71.39% 0.154 118.4) |
| XYZ | xyz(29.0233, 37.6767, 7.6624) |
| Luminance | 0.3768 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.79
Sickly Green
#94B21C
ΔE00 1.85
Barf Green
#94AC02
ΔE00 1.91
Icky Green
#8FAE22
ΔE00 2.22
Pea Green
#8EAB12
ΔE00 2.32
Booger Green
#96B403
ΔE00 2.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AAF27 #3C27AF
analogous
#AF8027 #9AAF27 #56AF27
triadic
#9AAF27 #279AAF #AF279A
tetradic
#9AAF27 #27AF80 #3C27AF #AF2756
square
#9AAF27 #27AF80 #3C27AF #AF2756
split-complementary
#9AAF27 #2756AF #8027AF
monochromatic
#424B11 #6E7D1C #9AAF27 #BDD43F #CEDF71
Accessibility & contrast
On white
2.46
#9AAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#9AAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AAF27
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AAF27 | 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)
#BBA500
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#A4A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9aaf27; /* rgb */ color: rgb(154, 175, 39); /* oklch */ color: oklch(71.4% 0.154 118.4);
Tailwind
colors: {
custom: {
50: '#bbc66d',
500: '#9aaf27',
950: '#000000',
},
}SCSS
$custom: #9aaf27; $custom-light: #bbc66d; $custom-dark: #000000;
JSON
{
"hex": "#9aaf27",
"rgb": {
"r": 154,
"g": 175,
"b": 39
},
"hsl": {
"h": 69.265,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.71392,
"c": 0.15427,
"h": 118.4
},
"luminance": 0.37676
}Semantic roles & 50–950 ramp
primary
#9AAF27
secondary
#7A6BC6
accent
#41E75B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B