#9FA32A#9FA32A
#9FA32A is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.138 H 111.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA32A |
|---|---|
| RGB | rgb(159, 163, 42) |
| HSL | hsl(62, 59%, 40%) |
| HSV | hsv(62, 74%, 64%) |
| CMYK | cmyk(2.5%, 0%, 74.2%, 36.1%) |
| CIE-LAB | lab(64.75, -16.11, 58.21) |
| CIE-LCH | lch(64.75, 60.40, 105.47°) |
| OKLab | oklab(69.06% -0.0504 0.1283) |
| OKLCH | oklch(69.06% 0.138 111.4) |
| XYZ | xyz(27.8141, 33.7332, 7.2360) |
| Luminance | 0.3373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Puke
#A5A502
ΔE00 2.99
Pea Soup Green
#94A617
ΔE00 3.35
Pea Soup
#929901
ΔE00 3.75
Baby Poop Green
#8F9805
ΔE00 4.16
Puke Green
#9AAE07
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA32A #2E2AA3
analogous
#A36A2A #9FA32A #63A32A
triadic
#9FA32A #2A9FA3 #A32A9F
tetradic
#9FA32A #2AA36A #2E2AA3 #A32A63
square
#9FA32A #2AA36A #2E2AA3 #A32A63
split-complementary
#9FA32A #2A63A3 #6A2AA3
monochromatic
#404211 #70721D #9FA32A #C8CD3D #D6DA6E
Accessibility & contrast
On white
2.71
#9FA32A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#9FA32A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA32A
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA32A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA32A | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B10
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9fa32a; /* rgb */ color: rgb(159, 163, 42); /* oklch */ color: oklch(69.1% 0.138 111.4);
Tailwind
colors: {
custom: {
50: '#bfbe6d',
500: '#9fa32a',
950: '#000000',
},
}SCSS
$custom: #9fa32a; $custom-light: #bfbe6d; $custom-dark: #000000;
JSON
{
"hex": "#9fa32a",
"rgb": {
"r": 159,
"g": 163,
"b": 42
},
"hsl": {
"h": 61.983,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.6906,
"c": 0.13782,
"h": 111.4
},
"luminance": 0.33732
}Semantic roles & 50–950 ramp
primary
#9FA32A
secondary
#6B68C0
accent
#46E24B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A