#9FA82E#9FA82E
#9FA82E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.2% C 0.141 H 113.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA82E |
|---|---|
| RGB | rgb(159, 168, 46) |
| HSL | hsl(64, 57%, 42%) |
| HSV | hsv(64, 73%, 66%) |
| CMYK | cmyk(5.4%, 0%, 72.6%, 34.1%) |
| CIE-LAB | lab(66.19, -18.47, 58.18) |
| CIE-LCH | lch(66.19, 61.04, 107.61°) |
| OKLab | oklab(70.22% -0.0566 0.1289) |
| OKLCH | oklch(70.22% 0.141 113.7) |
| XYZ | xyz(28.7947, 35.5740, 7.9339) |
| Luminance | 0.3557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.54
Vomit
#A2A415
ΔE00 2.82
Puke Green
#9AAE07
ΔE00 3.38
Barf Green
#94AC02
ΔE00 3.73
Puke
#A5A502
ΔE00 3.76
Pea Green
#8EAB12
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA82E #372EA8
analogous
#A8742E #9FA82E #62A82E
triadic
#9FA82E #2E9FA8 #A82E9F
tetradic
#9FA82E #2EA874 #372EA8 #A82E62
square
#9FA82E #2EA874 #372EA8 #A82E62
split-complementary
#9FA82E #2E62A8 #742EA8
monochromatic
#444814 #727821 #9FA82E #C3CD47 #D2DA77
Accessibility & contrast
On white
2.59
#9FA82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#9FA82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA82E
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA82E | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A017
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa82e; /* rgb */ color: rgb(159, 168, 46); /* oklch */ color: oklch(70.2% 0.141 113.7);
Tailwind
colors: {
custom: {
50: '#bfc170',
500: '#9fa82e',
950: '#000000',
},
}SCSS
$custom: #9fa82e; $custom-light: #bfc170; $custom-dark: #000000;
JSON
{
"hex": "#9fa82e",
"rgb": {
"r": 159,
"g": 168,
"b": 46
},
"hsl": {
"h": 64.426,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.70222,
"c": 0.14079,
"h": 113.7
},
"luminance": 0.35573
}Semantic roles & 50–950 ramp
primary
#9FA82E
secondary
#7670C2
accent
#48E053
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B