#9AA226#9AA226
#9AA226 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.140 H 113.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9AA226 |
|---|---|
| RGB | rgb(154, 162, 38) |
| HSL | hsl(64, 62%, 39%) |
| HSV | hsv(64, 77%, 64%) |
| CMYK | cmyk(4.9%, 0%, 76.5%, 36.5%) |
| CIE-LAB | lab(64.04, -17.96, 58.75) |
| CIE-LCH | lch(64.04, 61.44, 107.00°) |
| OKLab | oklab(68.38% -0.0556 0.1289) |
| OKLCH | oklch(68.38% 0.14 113.3) |
| XYZ | xyz(26.5974, 32.8512, 6.7732) |
| Luminance | 0.3285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.48
Vomit
#A2A415
ΔE00 2.51
Pea Soup
#929901
ΔE00 3.21
Baby Poop Green
#8F9805
ΔE00 3.47
Puke
#A5A502
ΔE00 3.63
Vomit Green
#89A203
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AA226 #2E26A2
analogous
#A26C26 #9AA226 #5CA226
triadic
#9AA226 #269AA2 #A2269A
tetradic
#9AA226 #26A26C #2E26A2 #A2265C
square
#9AA226 #26A26C #2E26A2 #A2265C
split-complementary
#9AA226 #265CA2 #6C26A2
monochromatic
#3C3F0F #6B701A #9AA226 #C6D035 #D4DB67
Accessibility & contrast
On white
2.77
#9AA226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#9AA226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AA226
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AA226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AA226 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A06
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#A5988B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9aa226; /* rgb */ color: rgb(154, 162, 38); /* oklch */ color: oklch(68.4% 0.140 113.3);
Tailwind
colors: {
custom: {
50: '#bbbd6b',
500: '#9aa226',
950: '#000000',
},
}SCSS
$custom: #9aa226; $custom-light: #bbbd6b; $custom-dark: #000000;
JSON
{
"hex": "#9aa226",
"rgb": {
"r": 154,
"g": 162,
"b": 38
},
"hsl": {
"h": 63.871,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.68385,
"c": 0.14037,
"h": 113.3
},
"luminance": 0.32851
}Semantic roles & 50–950 ramp
primary
#9AA226
secondary
#6963C1
accent
#43E54D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A