#9FA72C#9FA72C
#9FA72C is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.141 H 113.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA72C |
|---|---|
| RGB | rgb(159, 167, 44) |
| HSL | hsl(64, 58%, 41%) |
| HSV | hsv(64, 74%, 65%) |
| CMYK | cmyk(4.8%, 0%, 73.7%, 34.5%) |
| CIE-LAB | lab(65.90, -18.06, 58.60) |
| CIE-LCH | lch(65.90, 61.32, 107.13°) |
| OKLab | oklab(69.98% -0.0556 0.1295) |
| OKLCH | oklch(69.98% 0.141 113.2) |
| XYZ | xyz(28.5723, 35.1908, 7.6698) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.48
Pea Soup Green
#94A617
ΔE00 2.58
Puke
#A5A502
ΔE00 3.45
Puke Green
#9AAE07
ΔE00 3.54
Barf Green
#94AC02
ΔE00 3.88
Pea Green
#8EAB12
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA72C #342CA7
analogous
#A7722C #9FA72C #62A72C
triadic
#9FA72C #2C9FA7 #A72C9F
tetradic
#9FA72C #2CA772 #342CA7 #A72C62
square
#9FA72C #2CA772 #342CA7 #A72C62
split-complementary
#9FA72C #2C62A7 #722CA7
monochromatic
#434612 #71771F #9FA72C #C4CD43 #D3DA73
Accessibility & contrast
On white
2.61
#9FA72C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#9FA72C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA72C
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA72C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA72C | 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)
#B49F13
Deuteranopia (green-blind)
#B4A136
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9fa72c; /* rgb */ color: rgb(159, 167, 44); /* oklch */ color: oklch(70.0% 0.141 113.2);
Tailwind
colors: {
custom: {
50: '#bfc16e',
500: '#9fa72c',
950: '#000000',
},
}SCSS
$custom: #9fa72c; $custom-light: #bfc16e; $custom-dark: #000000;
JSON
{
"hex": "#9fa72c",
"rgb": {
"r": 159,
"g": 167,
"b": 44
},
"hsl": {
"h": 63.902,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.69981,
"c": 0.14092,
"h": 113.2
},
"luminance": 0.3519
}Semantic roles & 50–950 ramp
primary
#9FA72C
secondary
#736DC2
accent
#46E250
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B