#9FA22E#9FA22E
#9FA22E is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.134 H 110.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA22E |
|---|---|
| RGB | rgb(159, 162, 46) |
| HSL | hsl(62, 56%, 41%) |
| HSV | hsv(62, 72%, 64%) |
| CMYK | cmyk(1.9%, 0%, 71.6%, 36.5%) |
| CIE-LAB | lab(64.49, -15.39, 56.53) |
| CIE-LCH | lch(64.49, 58.59, 105.23°) |
| OKLab | oklab(68.86% -0.048 0.1255) |
| OKLCH | oklch(68.86% 0.134 110.9) |
| XYZ | xyz(27.7125, 33.4096, 7.5731) |
| Luminance | 0.3341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.31
Puke
#A5A502
ΔE00 3.37
Pea Soup Green
#94A617
ΔE00 3.74
Pea Soup
#929901
ΔE00 3.80
Baby Poop Green
#8F9805
ΔE00 4.17
Puke Green
#9AAE07
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA22E #312EA2
analogous
#A26B2E #9FA22E #65A22E
triadic
#9FA22E #2E9FA2 #A22E9F
tetradic
#9FA22E #2EA26B #312EA2 #A22E65
square
#9FA22E #2EA26B #312EA2 #A22E65
split-complementary
#9FA22E #2E65A2 #6B2EA2
monochromatic
#414313 #707220 #9FA22E #C6CA43 #D5D773
Accessibility & contrast
On white
2.73
#9FA22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#9FA22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA22E
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA22E | 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)
#AF9B19
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#AA988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9fa22e; /* rgb */ color: rgb(159, 162, 46); /* oklch */ color: oklch(68.9% 0.134 110.9);
Tailwind
colors: {
custom: {
50: '#bfbd6f',
500: '#9fa22e',
950: '#000000',
},
}SCSS
$custom: #9fa22e; $custom-light: #bfbd6f; $custom-dark: #000000;
JSON
{
"hex": "#9fa22e",
"rgb": {
"r": 159,
"g": 162,
"b": 46
},
"hsl": {
"h": 61.552,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.6886,
"c": 0.13432,
"h": 110.9
},
"luminance": 0.33409
}Semantic roles & 50–950 ramp
primary
#9FA22E
secondary
#6F6DBF
accent
#49DF4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B