#9CA22E#9CA22E
#9CA22E is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.135 H 112.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9CA22E |
|---|---|
| RGB | rgb(156, 162, 46) |
| HSL | hsl(63, 56%, 41%) |
| HSV | hsv(63, 72%, 64%) |
| CMYK | cmyk(3.7%, 0%, 71.6%, 36.5%) |
| CIE-LAB | lab(64.25, -16.70, 56.21) |
| CIE-LCH | lch(64.25, 58.64, 106.55°) |
| OKLab | oklab(68.61% -0.0515 0.1249) |
| OKLCH | oklch(68.61% 0.135 112.4) |
| XYZ | xyz(27.1246, 33.1065, 7.5456) |
| Luminance | 0.3311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.74
Pea Soup Green
#94A617
ΔE00 3.14
Pea Soup
#929901
ΔE00 3.65
Puke
#A5A502
ΔE00 3.86
Baby Poop Green
#8F9805
ΔE00 3.90
Vomit Green
#89A203
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9CA22E #342EA2
analogous
#A26E2E #9CA22E #62A22E
triadic
#9CA22E #2E9CA2 #A22E9C
tetradic
#9CA22E #2EA26E #342EA2 #A22E62
square
#9CA22E #2EA26E #342EA2 #A22E62
split-complementary
#9CA22E #2E62A2 #6E2EA2
monochromatic
#404313 #6E7220 #9CA22E #C3CA43 #D2D773
Accessibility & contrast
On white
2.76
#9CA22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#9CA22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9CA22E
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9CA22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9CA22E | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9ca22e; /* rgb */ color: rgb(156, 162, 46); /* oklch */ color: oklch(68.6% 0.135 112.4);
Tailwind
colors: {
custom: {
50: '#bcbd6f',
500: '#9ca22e',
950: '#000000',
},
}SCSS
$custom: #9ca22e; $custom-light: #bcbd6f; $custom-dark: #000000;
JSON
{
"hex": "#9ca22e",
"rgb": {
"r": 156,
"g": 162,
"b": 46
},
"hsl": {
"h": 63.103,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.68605,
"c": 0.13507,
"h": 112.4
},
"luminance": 0.33106
}Semantic roles & 50–950 ramp
primary
#9CA22E
secondary
#716DBF
accent
#49DF50
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B