#9FA426#9FA426
#9FA426 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.141 H 111.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA426 |
|---|---|
| RGB | rgb(159, 164, 38) |
| HSL | hsl(62, 62%, 40%) |
| HSV | hsv(62, 77%, 64%) |
| CMYK | cmyk(3%, 0%, 76.8%, 35.7%) |
| CIE-LAB | lab(65.01, -16.80, 59.80) |
| CIE-LCH | lch(65.01, 62.11, 105.69°) |
| OKLab | oklab(69.26% -0.0526 0.1309) |
| OKLCH | oklch(69.26% 0.141 111.9) |
| XYZ | xyz(27.9243, 34.0625, 6.9371) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.60
Puke
#A5A502
ΔE00 2.70
Pea Soup Green
#94A617
ΔE00 3.04
Pea Soup
#929901
ΔE00 3.80
Puke Green
#9AAE07
ΔE00 4.22
Baby Poop Green
#8F9805
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA426 #2B26A4
analogous
#A46A26 #9FA426 #60A426
triadic
#9FA426 #269FA4 #A4269F
tetradic
#9FA426 #26A46A #2B26A4 #A42660
square
#9FA426 #26A46A #2B26A4 #A42660
split-complementary
#9FA426 #2660A4 #6A26A4
monochromatic
#3F410F #6F721A #9FA426 #CAD137 #D7DC68
Accessibility & contrast
On white
2.69
#9FA426 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#9FA426 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA426
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA426 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA426 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#AA9A8C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9fa426; /* rgb */ color: rgb(159, 164, 38); /* oklch */ color: oklch(69.3% 0.141 111.9);
Tailwind
colors: {
custom: {
50: '#bfbe6b',
500: '#9fa426',
950: '#000000',
},
}SCSS
$custom: #9fa426; $custom-light: #bfbe6b; $custom-dark: #000000;
JSON
{
"hex": "#9fa426",
"rgb": {
"r": 159,
"g": 164,
"b": 38
},
"hsl": {
"h": 62.381,
"s": 62.376,
"l": 39.608
},
"oklch": {
"l": 0.69262,
"c": 0.1411,
"h": 111.9
},
"luminance": 0.34062
}Semantic roles & 50–950 ramp
primary
#9FA426
secondary
#6764C2
accent
#42E549
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A