#9FA42E#9FA42E
#9FA42E is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.136 H 111.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA42E |
|---|---|
| RGB | rgb(159, 164, 46) |
| HSL | hsl(63, 56%, 41%) |
| HSV | hsv(63, 72%, 64%) |
| CMYK | cmyk(3%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(65.06, -16.43, 57.08) |
| CIE-LCH | lch(65.06, 59.39, 106.05°) |
| OKLab | oklab(69.31% -0.0509 0.1266) |
| OKLCH | oklch(69.31% 0.136 111.9) |
| XYZ | xyz(28.0676, 34.1198, 7.6915) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.29
Pea Soup Green
#94A617
ΔE00 3.22
Puke
#A5A502
ΔE00 3.37
Pea Soup
#929901
ΔE00 4.10
Baby Poop Green
#8F9805
ΔE00 4.44
Puke Green
#9AAE07
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA42E #332EA4
analogous
#A46E2E #9FA42E #64A42E
triadic
#9FA42E #2E9FA4 #A42E9F
tetradic
#9FA42E #2EA46E #332EA4 #A42E64
square
#9FA42E #2EA46E #332EA4 #A42E64
split-complementary
#9FA42E #2E64A4 #6E2EA4
monochromatic
#424413 #717421 #9FA42E #C5CB45 #D4D874
Accessibility & contrast
On white
2.68
#9FA42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#9FA42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA42E
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA42E | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 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)
#B19C19
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#AA9A8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9fa42e; /* rgb */ color: rgb(159, 164, 46); /* oklch */ color: oklch(69.3% 0.136 111.9);
Tailwind
colors: {
custom: {
50: '#bfbe6f',
500: '#9fa42e',
950: '#000000',
},
}SCSS
$custom: #9fa42e; $custom-light: #bfbe6f; $custom-dark: #000000;
JSON
{
"hex": "#9fa42e",
"rgb": {
"r": 159,
"g": 164,
"b": 46
},
"hsl": {
"h": 62.542,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.69313,
"c": 0.13646,
"h": 111.9
},
"luminance": 0.34119
}Semantic roles & 50–950 ramp
primary
#9FA42E
secondary
#716EC0
accent
#48DF4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B