#9FA22B#9FA22B
#9FA22B 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 | #9FA22B |
|---|---|
| RGB | rgb(159, 162, 43) |
| HSL | hsl(62, 58%, 40%) |
| HSV | hsv(62, 73%, 64%) |
| CMYK | cmyk(1.9%, 0%, 73.5%, 36.5%) |
| CIE-LAB | lab(64.47, -15.54, 57.60) |
| CIE-LCH | lch(64.47, 59.66, 105.10°) |
| OKLab | oklab(68.84% -0.0487 0.1272) |
| OKLCH | oklch(68.84% 0.136 110.9) |
| XYZ | xyz(27.6554, 33.3867, 7.2725) |
| Luminance | 0.3339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.02
Puke
#A5A502
ΔE00 3.10
Pea Soup
#929901
ΔE00 3.65
Pea Soup Green
#94A617
ΔE00 3.65
Baby Poop Green
#8F9805
ΔE00 4.06
Puke Green
#9AAE07
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA22B #2E2BA2
analogous
#A26A2B #9FA22B #63A22B
triadic
#9FA22B #2B9FA2 #A22B9F
tetradic
#9FA22B #2BA26A #2E2BA2 #A22B63
square
#9FA22B #2BA26A #2E2BA2 #A22B63
split-complementary
#9FA22B #2B63A2 #6A2BA2
monochromatic
#404111 #70721E #9FA22B #C8CC3E #D6D96F
Accessibility & contrast
On white
2.74
#9FA22B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#9FA22B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA22B
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA22B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA22B | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 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)
#AF9B13
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#AA988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9fa22b; /* rgb */ color: rgb(159, 162, 43); /* oklch */ color: oklch(68.8% 0.136 110.9);
Tailwind
colors: {
custom: {
50: '#bfbd6d',
500: '#9fa22b',
950: '#000000',
},
}SCSS
$custom: #9fa22b; $custom-light: #bfbd6d; $custom-dark: #000000;
JSON
{
"hex": "#9fa22b",
"rgb": {
"r": 159,
"g": 162,
"b": 43
},
"hsl": {
"h": 61.513,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.6884,
"c": 0.13618,
"h": 110.9
},
"luminance": 0.33386
}Semantic roles & 50–950 ramp
primary
#9FA22B
secondary
#6B69C0
accent
#47E14A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B