#9BAF2F#9BAF2F
#9BAF2F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.149 H 118.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAF2F |
|---|---|
| RGB | rgb(155, 175, 47) |
| HSL | hsl(69, 58%, 44%) |
| HSV | hsv(69, 73%, 69%) |
| CMYK | cmyk(11.4%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(67.90, -23.63, 59.36) |
| CIE-LCH | lch(67.90, 63.89, 111.71°) |
| OKLab | oklab(71.52% -0.0706 0.1317) |
| OKLCH | oklch(71.52% 0.149 118.2) |
| XYZ | xyz(29.3613, 37.8340, 8.4447) |
| Luminance | 0.3783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Green
#94B21C
ΔE00 2.24
Booger
#9BB53C
ΔE00 2.28
Icky Green
#8FAE22
ΔE00 2.39
Puke Green
#9AAE07
ΔE00 2.42
Barf Green
#94AC02
ΔE00 2.53
Pea Green
#8EAB12
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAF2F #432FAF
analogous
#AF832F #9BAF2F #5BAF2F
triadic
#9BAF2F #2F9BAF #AF2F9B
tetradic
#9BAF2F #2FAF83 #432FAF #AF2F5B
square
#9BAF2F #2FAF83 #432FAF #AF2F5B
split-complementary
#9BAF2F #2F5BAF #832FAF
monochromatic
#464F15 #707F22 #9BAF2F #BBCF4C #CDDC7C
Accessibility & contrast
On white
2.45
#9BAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#9BAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAF2F
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAF2F | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#A4A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9baf2f; /* rgb */ color: rgb(155, 175, 47); /* oklch */ color: oklch(71.5% 0.149 118.2);
Tailwind
colors: {
custom: {
50: '#bcc671',
500: '#9baf2f',
950: '#000000',
},
}SCSS
$custom: #9baf2f; $custom-light: #bcc671; $custom-dark: #000000;
JSON
{
"hex": "#9baf2f",
"rgb": {
"r": 155,
"g": 175,
"b": 47
},
"hsl": {
"h": 69.375,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.71518,
"c": 0.14943,
"h": 118.2
},
"luminance": 0.37834
}Semantic roles & 50–950 ramp
primary
#9BAF2F
secondary
#8275C4
accent
#47E15F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B