#9FA72B#9FA72B
#9FA72B is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.142 H 113.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA72B |
|---|---|
| RGB | rgb(159, 167, 43) |
| HSL | hsl(64, 59%, 41%) |
| HSV | hsv(64, 74%, 65%) |
| CMYK | cmyk(4.8%, 0%, 74.3%, 34.5%) |
| CIE-LAB | lab(65.89, -18.11, 58.95) |
| CIE-LCH | lch(65.89, 61.66, 107.08°) |
| OKLab | oklab(69.97% -0.0558 0.13) |
| OKLCH | oklch(69.97% 0.142 113.2) |
| XYZ | xyz(28.5537, 35.1834, 7.5720) |
| Luminance | 0.3518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.41
Pea Soup Green
#94A617
ΔE00 2.55
Puke
#A5A502
ΔE00 3.38
Puke Green
#9AAE07
ΔE00 3.48
Barf Green
#94AC02
ΔE00 3.84
Pea Green
#8EAB12
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA72B #332BA7
analogous
#A7712B #9FA72B #61A72B
triadic
#9FA72B #2B9FA7 #A72B9F
tetradic
#9FA72B #2BA771 #332BA7 #A72B61
square
#9FA72B #2BA771 #332BA7 #A72B61
split-complementary
#9FA72B #2B61A7 #712BA7
monochromatic
#424612 #71761E #9FA72B #C5CE41 #D4DB72
Accessibility & contrast
On white
2.61
#9FA72B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#9FA72B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA72B
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA72B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA72B | 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)
#B49F11
Deuteranopia (green-blind)
#B4A135
Tritanopia (blue-blind)
#AA9D8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9fa72b; /* rgb */ color: rgb(159, 167, 43); /* oklch */ color: oklch(70.0% 0.142 113.2);
Tailwind
colors: {
custom: {
50: '#bfc16e',
500: '#9fa72b',
950: '#000000',
},
}SCSS
$custom: #9fa72b; $custom-light: #bfc16e; $custom-dark: #000000;
JSON
{
"hex": "#9fa72b",
"rgb": {
"r": 159,
"g": 167,
"b": 43
},
"hsl": {
"h": 63.871,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.69975,
"c": 0.14151,
"h": 113.2
},
"luminance": 0.35183
}Semantic roles & 50–950 ramp
primary
#9FA72B
secondary
#716CC2
accent
#46E250
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B