#9FAF2E#9FAF2E
#9FAF2E is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.149 H 116.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9FAF2E |
|---|---|
| RGB | rgb(159, 175, 46) |
| HSL | hsl(67, 58%, 43%) |
| HSV | hsv(67, 74%, 69%) |
| CMYK | cmyk(9.1%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(68.19, -21.99, 60.09) |
| CIE-LCH | lch(68.19, 63.99, 110.10°) |
| OKLab | oklab(71.82% -0.0663 0.133) |
| OKLCH | oklch(71.82% 0.149 116.5) |
| XYZ | xyz(30.1219, 38.2285, 8.3763) |
| Luminance | 0.3823 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.21
Barf Green
#94AC02
ΔE00 2.72
Sickly Green
#94B21C
ΔE00 2.90
Booger
#9BB53C
ΔE00 2.96
Pea Soup Green
#94A617
ΔE00 2.97
Icky Green
#8FAE22
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FAF2E #3E2EAF
analogous
#AF7E2E #9FAF2E #5EAF2E
triadic
#9FAF2E #2E9FAF #AF2E9F
tetradic
#9FAF2E #2EAF7E #3E2EAF #AF2E5E
square
#9FAF2E #2EAF7E #3E2EAF #AF2E5E
split-complementary
#9FAF2E #2E5EAF #7E2EAF
monochromatic
#474E15 #737F21 #9FAF2E #BFD04B #D0DC7B
Accessibility & contrast
On white
2.43
#9FAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#9FAF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FAF2E
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FAF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FAF2E | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA614
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#A9A596
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9faf2e; /* rgb */ color: rgb(159, 175, 46); /* oklch */ color: oklch(71.8% 0.149 116.5);
Tailwind
colors: {
custom: {
50: '#bfc670',
500: '#9faf2e',
950: '#000000',
},
}SCSS
$custom: #9faf2e; $custom-light: #bfc670; $custom-dark: #000000;
JSON
{
"hex": "#9faf2e",
"rgb": {
"r": 159,
"g": 175,
"b": 46
},
"hsl": {
"h": 67.442,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.71824,
"c": 0.1486,
"h": 116.5
},
"luminance": 0.38228
}Semantic roles & 50–950 ramp
primary
#9FAF2E
secondary
#7E74C5
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B