#9FA72E#9FA72E
#9FA72E is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.140 H 113.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA72E |
|---|---|
| RGB | rgb(159, 167, 46) |
| HSL | hsl(64, 57%, 42%) |
| HSV | hsv(64, 72%, 65%) |
| CMYK | cmyk(4.8%, 0%, 72.5%, 34.5%) |
| CIE-LAB | lab(65.91, -17.96, 57.90) |
| CIE-LCH | lch(65.91, 60.62, 107.23°) |
| OKLab | oklab(69.99% -0.0551 0.1284) |
| OKLCH | oklch(69.99% 0.14 113.3) |
| XYZ | xyz(28.6108, 35.2062, 7.8726) |
| Luminance | 0.3521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.63
Pea Soup Green
#94A617
ΔE00 2.65
Puke
#A5A502
ΔE00 3.62
Puke Green
#9AAE07
ΔE00 3.65
Barf Green
#94AC02
ΔE00 3.97
Pea Green
#8EAB12
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA72E #362EA7
analogous
#A7732E #9FA72E #63A72E
triadic
#9FA72E #2E9FA7 #A72E9F
tetradic
#9FA72E #2EA773 #362EA7 #A72E63
square
#9FA72E #2EA773 #362EA7 #A72E63
split-complementary
#9FA72E #2E63A7 #732EA7
monochromatic
#444714 #717721 #9FA72E #C3CC46 #D3D976
Accessibility & contrast
On white
2.61
#9FA72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#9FA72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA72E
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA72E | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F17
Deuteranopia (green-blind)
#B4A138
Tritanopia (blue-blind)
#AA9D90
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9fa72e; /* rgb */ color: rgb(159, 167, 46); /* oklch */ color: oklch(70.0% 0.140 113.3);
Tailwind
colors: {
custom: {
50: '#bfc16f',
500: '#9fa72e',
950: '#000000',
},
}SCSS
$custom: #9fa72e; $custom-light: #bfc16f; $custom-dark: #000000;
JSON
{
"hex": "#9fa72e",
"rgb": {
"r": 159,
"g": 167,
"b": 46
},
"hsl": {
"h": 63.967,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.69995,
"c": 0.1397,
"h": 113.3
},
"luminance": 0.35206
}Semantic roles & 50–950 ramp
primary
#9FA72E
secondary
#7570C1
accent
#48E052
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B