#9BAF2B#9BAF2B
#9BAF2B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.152 H 118.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAF2B |
|---|---|
| RGB | rgb(155, 175, 43) |
| HSL | hsl(69, 61%, 43%) |
| HSV | hsv(69, 75%, 69%) |
| CMYK | cmyk(11.4%, 0%, 75.4%, 31.4%) |
| CIE-LAB | lab(67.88, -23.83, 60.71) |
| CIE-LCH | lch(67.88, 65.22, 111.43°) |
| OKLab | oklab(71.49% -0.0714 0.1339) |
| OKLCH | oklch(71.49% 0.152 118.1) |
| XYZ | xyz(29.2843, 37.8032, 8.0391) |
| Luminance | 0.3780 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.05
Sickly Green
#94B21C
ΔE00 2.10
Barf Green
#94AC02
ΔE00 2.22
Icky Green
#8FAE22
ΔE00 2.39
Booger
#9BB53C
ΔE00 2.52
Pea Green
#8EAB12
ΔE00 2.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAF2B #3F2BAF
analogous
#AF812B #9BAF2B #59AF2B
triadic
#9BAF2B #2B9BAF #AF2B9B
tetradic
#9BAF2B #2BAF81 #3F2BAF #AF2B59
square
#9BAF2B #2BAF81 #3F2BAF #AF2B59
split-complementary
#9BAF2B #2B59AF #812BAF
monochromatic
#444D13 #6F7E1F #9BAF2B #BCD146 #CEDE77
Accessibility & contrast
On white
2.45
#9BAF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#9BAF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAF2B
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAF2B | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA50C
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9baf2b; /* rgb */ color: rgb(155, 175, 43); /* oklch */ color: oklch(71.5% 0.152 118.1);
Tailwind
colors: {
custom: {
50: '#bcc66f',
500: '#9baf2b',
950: '#000000',
},
}SCSS
$custom: #9baf2b; $custom-light: #bcc66f; $custom-dark: #000000;
JSON
{
"hex": "#9baf2b",
"rgb": {
"r": 155,
"g": 175,
"b": 43
},
"hsl": {
"h": 69.091,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.71492,
"c": 0.15175,
"h": 118.1
},
"luminance": 0.37803
}Semantic roles & 50–950 ramp
primary
#9BAF2B
secondary
#7D70C5
accent
#44E45C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B