#9AA227#9AA227
#9AA227 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 | #9AA227 |
|---|---|
| RGB | rgb(154, 162, 39) |
| HSL | hsl(64, 61%, 39%) |
| HSV | hsv(64, 76%, 64%) |
| CMYK | cmyk(4.9%, 0%, 75.9%, 36.5%) |
| CIE-LAB | lab(64.05, -17.91, 58.43) |
| CIE-LCH | lch(64.05, 61.11, 107.05°) |
| OKLab | oklab(68.39% -0.0554 0.1284) |
| OKLCH | oklch(68.39% 0.14 113.3) |
| XYZ | xyz(26.6138, 32.8577, 6.8593) |
| Luminance | 0.3286 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.50
Vomit
#A2A415
ΔE00 2.58
Pea Soup
#929901
ΔE00 3.26
Baby Poop Green
#8F9805
ΔE00 3.50
Puke
#A5A502
ΔE00 3.70
Vomit Green
#89A203
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9AA227 #2F27A2
analogous
#A26C27 #9AA227 #5DA227
triadic
#9AA227 #279AA2 #A2279A
tetradic
#9AA227 #27A26C #2F27A2 #A2275D
square
#9AA227 #27A26C #2F27A2 #A2275D
split-complementary
#9AA227 #275DA2 #6C27A2
monochromatic
#3C3F0F #6B711B #9AA227 #C5CF37 #D3DB69
Accessibility & contrast
On white
2.77
#9AA227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#9AA227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9AA227
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9AA227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9AA227 | 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)
#AE9A09
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#A5988B
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9aa227; /* rgb */ color: rgb(154, 162, 39); /* oklch */ color: oklch(68.4% 0.140 113.3);
Tailwind
colors: {
custom: {
50: '#bbbd6b',
500: '#9aa227',
950: '#000000',
},
}SCSS
$custom: #9aa227; $custom-light: #bbbd6b; $custom-dark: #000000;
JSON
{
"hex": "#9aa227",
"rgb": {
"r": 154,
"g": 162,
"b": 39
},
"hsl": {
"h": 63.902,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.68391,
"c": 0.13982,
"h": 113.3
},
"luminance": 0.32857
}Semantic roles & 50–950 ramp
primary
#9AA227
secondary
#6A64C1
accent
#43E44E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A