#9FA82C#9FA82C
#9FA82C is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.2% C 0.142 H 113.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA82C |
|---|---|
| RGB | rgb(159, 168, 44) |
| HSL | hsl(64, 58%, 42%) |
| HSV | hsv(64, 74%, 66%) |
| CMYK | cmyk(5.4%, 0%, 73.8%, 34.1%) |
| CIE-LAB | lab(66.18, -18.57, 58.87) |
| CIE-LCH | lch(66.18, 61.73, 107.50°) |
| OKLab | oklab(70.21% -0.057 0.1301) |
| OKLCH | oklch(70.21% 0.142 113.7) |
| XYZ | xyz(28.7562, 35.5586, 7.7311) |
| Luminance | 0.3556 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.47
Vomit
#A2A415
ΔE00 2.68
Puke Green
#9AAE07
ΔE00 3.26
Puke
#A5A502
ΔE00 3.60
Barf Green
#94AC02
ΔE00 3.63
Pea Green
#8EAB12
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA82C #352CA8
analogous
#A8732C #9FA82C #61A82C
triadic
#9FA82C #2C9FA8 #A82C9F
tetradic
#9FA82C #2CA873 #352CA8 #A82C61
square
#9FA82C #2CA873 #352CA8 #A82C61
split-complementary
#9FA82C #2C61A8 #732CA8
monochromatic
#434713 #71781F #9FA82C #C4CE43 #D3DB74
Accessibility & contrast
On white
2.59
#9FA82C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#9FA82C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA82C
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA82C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA82C | 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)
#B5A013
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa82c; /* rgb */ color: rgb(159, 168, 44); /* oklch */ color: oklch(70.2% 0.142 113.7);
Tailwind
colors: {
custom: {
50: '#bfc16f',
500: '#9fa82c',
950: '#000000',
},
}SCSS
$custom: #9fa82c; $custom-light: #bfc16f; $custom-dark: #000000;
JSON
{
"hex": "#9fa82c",
"rgb": {
"r": 159,
"g": 168,
"b": 44
},
"hsl": {
"h": 64.355,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.70209,
"c": 0.142,
"h": 113.7
},
"luminance": 0.35558
}Semantic roles & 50–950 ramp
primary
#9FA82C
secondary
#746EC2
accent
#46E251
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B