#9FAF4E#9FAF4E
#9FAF4E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.124 H 117.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAF4E |
|---|---|
| RGB | rgb(159, 175, 78) |
| HSL | hsl(70, 38%, 50%) |
| HSV | hsv(70, 55%, 69%) |
| CMYK | cmyk(9.1%, 0%, 55.4%, 31.4%) |
| CIE-LAB | lab(68.45, -19.81, 47.07) |
| CIE-LCH | lch(68.45, 51.06, 112.82°) |
| OKLab | oklab(72.11% -0.0571 0.11) |
| OKLCH | oklch(72.11% 0.124 117.4) |
| XYZ | xyz(31.0036, 38.5812, 13.0199) |
| Luminance | 0.3858 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.36
Avocado (survey)
#90B134
ΔE00 4.24
Light Olive Green
#A4BE5C
ΔE00 4.36
Light Olive
#ACBF69
ΔE00 4.96
Icky Green
#8FAE22
ΔE00 5.04
Sick Green
#9DB92C
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAF4E #5E4EAF
analogous
#AF8F4E #9FAF4E #6FAF4E
triadic
#9FAF4E #4E9FAF #AF4E9F
tetradic
#9FAF4E #4EAF8F #5E4EAF #AF4E6F
square
#9FAF4E #4EAF8F #5E4EAF #AF4E6F
split-complementary
#9FAF4E #4E6FAF #8F4EAF
monochromatic
#525A28 #79853B #9FAF4E #B6C378 #CDD6A2
Accessibility & contrast
On white
2.41
#9FAF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#9FAF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAF4E
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAF4E | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#B8A854
Tritanopia (blue-blind)
#A7A69A
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #9faf4e; /* rgb */ color: rgb(159, 175, 78); /* oklch */ color: oklch(72.1% 0.124 117.4);
Tailwind
colors: {
custom: {
50: '#bdc683',
500: '#9faf4e',
950: '#000000',
},
}SCSS
$custom: #9faf4e; $custom-light: #bdc683; $custom-dark: #000000;
JSON
{
"hex": "#9faf4e",
"rgb": {
"r": 159,
"g": 175,
"b": 78
},
"hsl": {
"h": 69.897,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.72113,
"c": 0.12391,
"h": 117.4
},
"luminance": 0.38581
}Semantic roles & 50–950 ramp
primary
#9FAF4E
secondary
#9E96C3
accent
#5ACE6D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C