#9FA52E#9FA52E
#9FA52E is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.138 H 112.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA52E |
|---|---|
| RGB | rgb(159, 165, 46) |
| HSL | hsl(63, 56%, 41%) |
| HSV | hsv(63, 72%, 65%) |
| CMYK | cmyk(3.6%, 0%, 72.1%, 35.3%) |
| CIE-LAB | lab(65.34, -16.94, 57.35) |
| CIE-LCH | lch(65.34, 59.80, 106.45°) |
| OKLab | oklab(69.54% -0.0523 0.1272) |
| OKLCH | oklch(69.54% 0.138 112.4) |
| XYZ | xyz(28.2472, 34.4791, 7.7514) |
| Luminance | 0.3448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.36
Pea Soup Green
#94A617
ΔE00 3.00
Puke
#A5A502
ΔE00 3.42
Puke Green
#9AAE07
ΔE00 4.23
Pea Soup
#929901
ΔE00 4.29
Barf Green
#94AC02
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA52E #342EA5
analogous
#A5702E #9FA52E #64A52E
triadic
#9FA52E #2E9FA5 #A52E9F
tetradic
#9FA52E #2EA570 #342EA5 #A52E64
square
#9FA52E #2EA570 #342EA5 #A52E64
split-complementary
#9FA52E #2E64A5 #702EA5
monochromatic
#434513 #717521 #9FA52E #C4CB45 #D3D875
Accessibility & contrast
On white
2.66
#9FA52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#9FA52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA52E
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA52E | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D18
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9fa52e; /* rgb */ color: rgb(159, 165, 46); /* oklch */ color: oklch(69.5% 0.138 112.4);
Tailwind
colors: {
custom: {
50: '#bfbf6f',
500: '#9fa52e',
950: '#000000',
},
}SCSS
$custom: #9fa52e; $custom-light: #bfbf6f; $custom-dark: #000000;
JSON
{
"hex": "#9fa52e",
"rgb": {
"r": 159,
"g": 165,
"b": 46
},
"hsl": {
"h": 63.025,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.6954,
"c": 0.13753,
"h": 112.4
},
"luminance": 0.34478
}Semantic roles & 50–950 ramp
primary
#9FA52E
secondary
#736FC0
accent
#48E050
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B