#9FA745#9FA745
#9FA745 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.122 H 113.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA745 |
|---|---|
| RGB | rgb(159, 167, 69) |
| HSL | hsl(65, 42%, 46%) |
| HSV | hsv(65, 59%, 65%) |
| CMYK | cmyk(4.8%, 0%, 58.7%, 34.5%) |
| CIE-LAB | lab(66.09, -16.48, 48.58) |
| CIE-LCH | lch(66.09, 51.30, 108.74°) |
| OKLab | oklab(70.2% -0.0486 0.1122) |
| OKLCH | oklch(70.2% 0.122 113.4) |
| XYZ | xyz(29.1916, 35.4386, 10.9316) |
| Luminance | 0.3544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 4.59
Vomit
#A2A415
ΔE00 5.10
Booger
#9BB53C
ΔE00 5.27
Khaki (survey)
#AAA662
ΔE00 5.58
Puke Green
#9AAE07
ΔE00 5.76
Icky Green
#8FAE22
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA745 #4D45A7
analogous
#A77E45 #9FA745 #6EA745
triadic
#9FA745 #459FA7 #A7459F
tetradic
#9FA745 #45A77E #4D45A7 #A7456E
square
#9FA745 #45A77E #4D45A7 #A7456E
split-complementary
#9FA745 #456EA7 #7E45A7
monochromatic
#4D5021 #767C33 #9FA745 #BAC168 #CED394
Accessibility & contrast
On white
2.60
#9FA745 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#9FA745 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA745
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA745 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA745 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A03A
Deuteranopia (green-blind)
#B2A24B
Tritanopia (blue-blind)
#A99E92
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9fa745; /* rgb */ color: rgb(159, 167, 69); /* oklch */ color: oklch(70.2% 0.122 113.4);
Tailwind
colors: {
custom: {
50: '#bec17c',
500: '#9fa745',
950: '#000000',
},
}SCSS
$custom: #9fa745; $custom-light: #bec17c; $custom-dark: #000000;
JSON
{
"hex": "#9fa745",
"rgb": {
"r": 159,
"g": 167,
"b": 69
},
"hsl": {
"h": 64.898,
"s": 41.525,
"l": 46.275
},
"oklch": {
"l": 0.70196,
"c": 0.12227,
"h": 113.4
},
"luminance": 0.35438
}Semantic roles & 50–950 ramp
primary
#9FA745
secondary
#8E89BE
accent
#56D160
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C