#9AAF28#9AAF28
#9AAF28 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 | #9AAF28 |
|---|---|
| RGB | rgb(154, 175, 40) |
| HSL | hsl(69, 63%, 42%) |
| HSV | hsv(69, 77%, 69%) |
| CMYK | cmyk(12%, 0%, 77.1%, 31.4%) |
| CIE-LAB | lab(67.79, -24.39, 61.57) |
| CIE-LCH | lch(67.79, 66.22, 111.61°) |
| OKLab | oklab(71.4% -0.0732 0.1352) |
| OKLCH | oklch(71.4% 0.154 118.4) |
| XYZ | xyz(29.0401, 37.6834, 7.7509) |
| Luminance | 0.3768 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 1.86
Puke Green
#9AAE07
ΔE00 1.88
Barf Green
#94AC02
ΔE00 1.97
Icky Green
#8FAE22
ΔE00 2.20
Pea Green
#8EAB12
ΔE00 2.33
Booger Green
#96B403
ΔE00 2.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AAF28 #3D28AF
analogous
#AF8028 #9AAF28 #57AF28
triadic
#9AAF28 #289AAF #AF289A
tetradic
#9AAF28 #28AF80 #3D28AF #AF2857
square
#9AAF28 #28AF80 #3D28AF #AF2857
split-complementary
#9AAF28 #2857AF #8028AF
monochromatic
#424B11 #6E7D1D #9AAF28 #BDD441 #CEDF73
Accessibility & contrast
On white
2.46
#9AAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#9AAF28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AAF28
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AAF28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AAF28 | 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)
#BBA501
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#A4A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9aaf28; /* rgb */ color: rgb(154, 175, 40); /* oklch */ color: oklch(71.4% 0.154 118.4);
Tailwind
colors: {
custom: {
50: '#bbc66d',
500: '#9aaf28',
950: '#000000',
},
}SCSS
$custom: #9aaf28; $custom-light: #bbc66d; $custom-dark: #000000;
JSON
{
"hex": "#9aaf28",
"rgb": {
"r": 154,
"g": 175,
"b": 40
},
"hsl": {
"h": 69.333,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.71397,
"c": 0.15375,
"h": 118.4
},
"luminance": 0.37683
}Semantic roles & 50–950 ramp
primary
#9AAF28
secondary
#7B6DC6
accent
#42E65B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B