#9FA22C#9FA22C
#9FA22C is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.136 H 110.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA22C |
|---|---|
| RGB | rgb(159, 162, 44) |
| HSL | hsl(62, 57%, 40%) |
| HSV | hsv(62, 73%, 64%) |
| CMYK | cmyk(1.9%, 0%, 72.8%, 36.5%) |
| CIE-LAB | lab(64.48, -15.50, 57.25) |
| CIE-LCH | lch(64.48, 59.31, 105.15°) |
| OKLab | oklab(68.85% -0.0485 0.1266) |
| OKLCH | oklch(68.85% 0.136 110.9) |
| XYZ | xyz(27.6740, 33.3942, 7.3703) |
| Luminance | 0.3339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.11
Puke
#A5A502
ΔE00 3.19
Pea Soup Green
#94A617
ΔE00 3.67
Pea Soup
#929901
ΔE00 3.69
Baby Poop Green
#8F9805
ΔE00 4.09
Puke Green
#9AAE07
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA22C #2F2CA2
analogous
#A26A2C #9FA22C #64A22C
triadic
#9FA22C #2C9FA2 #A22C9F
tetradic
#9FA22C #2CA26A #2F2CA2 #A22C64
square
#9FA22C #2CA26A #2F2CA2 #A22C64
split-complementary
#9FA22C #2C64A2 #6A2CA2
monochromatic
#414212 #70721F #9FA22C #C8CB40 #D6D870
Accessibility & contrast
On white
2.73
#9FA22C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#9FA22C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA22C
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA22C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA22C | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B16
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#AA988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9fa22c; /* rgb */ color: rgb(159, 162, 44); /* oklch */ color: oklch(68.8% 0.136 110.9);
Tailwind
colors: {
custom: {
50: '#bfbd6e',
500: '#9fa22c',
950: '#000000',
},
}SCSS
$custom: #9fa22c; $custom-light: #bfbd6e; $custom-dark: #000000;
JSON
{
"hex": "#9fa22c",
"rgb": {
"r": 159,
"g": 162,
"b": 44
},
"hsl": {
"h": 61.525,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.68846,
"c": 0.13558,
"h": 110.9
},
"luminance": 0.33393
}Semantic roles & 50–950 ramp
primary
#9FA22C
secondary
#6D6ABF
accent
#47E14B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B