#9FA12E#9FA12E
#9FA12E is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.133 H 110.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA12E |
|---|---|
| RGB | rgb(159, 161, 46) |
| HSL | hsl(61, 56%, 41%) |
| HSV | hsv(61, 71%, 63%) |
| CMYK | cmyk(1.2%, 0%, 71.4%, 36.9%) |
| CIE-LAB | lab(64.21, -14.88, 56.25) |
| CIE-LCH | lch(64.21, 58.19, 104.81°) |
| OKLab | oklab(68.63% -0.0465 0.1249) |
| OKLCH | oklch(68.63% 0.133 110.4) |
| XYZ | xyz(27.5370, 33.0587, 7.5146) |
| Luminance | 0.3306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.40
Puke
#A5A502
ΔE00 3.44
Pea Soup
#929901
ΔE00 3.69
Pea Soup Green
#94A617
ΔE00 4.02
Baby Poop Green
#8F9805
ΔE00 4.08
Baby Shit Green
#889717
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA12E #302EA1
analogous
#A1692E #9FA12E #66A12E
triadic
#9FA12E #2E9FA1 #A12E9F
tetradic
#9FA12E #2EA169 #302EA1 #A12E66
square
#9FA12E #2EA169 #302EA1 #A12E66
split-complementary
#9FA12E #2E66A1 #692EA1
monochromatic
#414213 #707120 #9FA12E #C7C943 #D5D773
Accessibility & contrast
On white
2.76
#9FA12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#9FA12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA12E
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA12E | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#AA978B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9fa12e; /* rgb */ color: rgb(159, 161, 46); /* oklch */ color: oklch(68.6% 0.133 110.4);
Tailwind
colors: {
custom: {
50: '#bfbc6f',
500: '#9fa12e',
950: '#000000',
},
}SCSS
$custom: #9fa12e; $custom-light: #bfbc6f; $custom-dark: #000000;
JSON
{
"hex": "#9fa12e",
"rgb": {
"r": 159,
"g": 161,
"b": 46
},
"hsl": {
"h": 61.043,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.68634,
"c": 0.13326,
"h": 110.4
},
"luminance": 0.33058
}Semantic roles & 50–950 ramp
primary
#9FA12E
secondary
#6E6CBE
accent
#49DF4C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B