#9FA42B#9FA42B
#9FA42B is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.138 H 111.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA42B |
|---|---|
| RGB | rgb(159, 164, 43) |
| HSL | hsl(62, 58%, 41%) |
| HSV | hsv(62, 74%, 64%) |
| CMYK | cmyk(3%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(65.04, -16.57, 58.14) |
| CIE-LCH | lch(65.04, 60.45, 105.91°) |
| OKLab | oklab(69.29% -0.0516 0.1283) |
| OKLCH | oklch(69.29% 0.138 111.9) |
| XYZ | xyz(28.0105, 34.0970, 7.3909) |
| Luminance | 0.3410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.01
Puke
#A5A502
ΔE00 3.10
Pea Soup Green
#94A617
ΔE00 3.13
Pea Soup
#929901
ΔE00 3.97
Baby Poop Green
#8F9805
ΔE00 4.34
Puke Green
#9AAE07
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA42B #302BA4
analogous
#A46C2B #9FA42B #63A42B
triadic
#9FA42B #2B9FA4 #A42B9F
tetradic
#9FA42B #2BA46C #302BA4 #A42B63
square
#9FA42B #2BA46C #302BA4 #A42B63
split-complementary
#9FA42B #2B63A4 #6C2BA4
monochromatic
#414312 #70741E #9FA42B #C7CD3F #D5D970
Accessibility & contrast
On white
2.69
#9FA42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#9FA42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA42B
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA42B | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C12
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#AA9A8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9fa42b; /* rgb */ color: rgb(159, 164, 43); /* oklch */ color: oklch(69.3% 0.138 111.9);
Tailwind
colors: {
custom: {
50: '#bfbe6e',
500: '#9fa42b',
950: '#000000',
},
}SCSS
$custom: #9fa42b; $custom-light: #bfbe6e; $custom-dark: #000000;
JSON
{
"hex": "#9fa42b",
"rgb": {
"r": 159,
"g": 164,
"b": 43
},
"hsl": {
"h": 62.479,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.69293,
"c": 0.13829,
"h": 111.9
},
"luminance": 0.34096
}Semantic roles & 50–950 ramp
primary
#9FA42B
secondary
#6E6AC1
accent
#46E24D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B