#9FA62E#9FA62E
#9FA62E is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.139 H 112.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA62E |
|---|---|
| RGB | rgb(159, 166, 46) |
| HSL | hsl(64, 57%, 42%) |
| HSV | hsv(64, 72%, 65%) |
| CMYK | cmyk(4.2%, 0%, 72.3%, 34.9%) |
| CIE-LAB | lab(65.62, -17.45, 57.63) |
| CIE-LCH | lch(65.62, 60.21, 106.85°) |
| OKLab | oklab(69.77% -0.0537 0.1278) |
| OKLCH | oklch(69.77% 0.139 112.8) |
| XYZ | xyz(28.4283, 34.8413, 7.8117) |
| Luminance | 0.3484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.48
Pea Soup Green
#94A617
ΔE00 2.81
Puke
#A5A502
ΔE00 3.50
Puke Green
#9AAE07
ΔE00 3.93
Barf Green
#94AC02
ΔE00 4.24
Pea Soup
#929901
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA62E #352EA6
analogous
#A6712E #9FA62E #63A62E
triadic
#9FA62E #2E9FA6 #A62E9F
tetradic
#9FA62E #2EA671 #352EA6 #A62E63
square
#9FA62E #2EA671 #352EA6 #A62E63
split-complementary
#9FA62E #2E63A6 #712EA6
monochromatic
#434613 #717621 #9FA62E #C4CC46 #D3D976
Accessibility & contrast
On white
2.64
#9FA62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#9FA62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA62E
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA62E | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E18
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9fa62e; /* rgb */ color: rgb(159, 166, 46); /* oklch */ color: oklch(69.8% 0.139 112.8);
Tailwind
colors: {
custom: {
50: '#bfc06f',
500: '#9fa62e',
950: '#000000',
},
}SCSS
$custom: #9fa62e; $custom-light: #bfc06f; $custom-dark: #000000;
JSON
{
"hex": "#9fa62e",
"rgb": {
"r": 159,
"g": 166,
"b": 46
},
"hsl": {
"h": 63.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.69767,
"c": 0.13861,
"h": 112.8
},
"luminance": 0.34841
}Semantic roles & 50–950 ramp
primary
#9FA62E
secondary
#746FC1
accent
#48E051
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B