#9BA71B#9BA71B
#9BA71B is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.6% C 0.150 H 114.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA71B |
|---|---|
| RGB | rgb(155, 167, 27) |
| HSL | hsl(65, 72%, 38%) |
| HSV | hsv(65, 84%, 65%) |
| CMYK | cmyk(7.2%, 0%, 83.8%, 34.5%) |
| CIE-LAB | lab(65.50, -20.47, 63.24) |
| CIE-LCH | lch(65.50, 66.47, 107.93°) |
| OKLab | oklab(69.56% -0.0634 0.1365) |
| OKLCH | oklch(69.56% 0.151 114.9) |
| XYZ | xyz(27.5350, 34.6856, 6.2812) |
| Luminance | 0.3468 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.52
Puke Green
#9AAE07
ΔE00 2.49
Vomit
#A2A415
ΔE00 2.57
Barf Green
#94AC02
ΔE00 2.72
Puke
#A5A502
ΔE00 3.39
Pea Green
#8EAB12
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA71B #271BA7
analogous
#A76D1B #9BA71B #55A71B
triadic
#9BA71B #1B9BA7 #A71B9B
tetradic
#9BA71B #1BA76D #271BA7 #A71B55
square
#9BA71B #1BA76D #271BA7 #A71B55
split-complementary
#9BA71B #1B55A7 #6D1BA7
monochromatic
#393E0A #6A7212 #9BA71B #CCDC24 #D8E458
Accessibility & contrast
On white
2.65
#9BA71B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#9BA71B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA71B
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA71B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA71B | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B3A02A
Tritanopia (blue-blind)
#A69D8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9ba71b; /* rgb */ color: rgb(155, 167, 27); /* oklch */ color: oklch(69.6% 0.150 114.9);
Tailwind
colors: {
custom: {
50: '#bcc167',
500: '#9ba71b',
950: '#000000',
},
}SCSS
$custom: #9ba71b; $custom-light: #bcc167; $custom-dark: #000000;
JSON
{
"hex": "#9ba71b",
"rgb": {
"r": 155,
"g": 167,
"b": 27
},
"hsl": {
"h": 65.143,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.69562,
"c": 0.1505,
"h": 114.9
},
"luminance": 0.34685
}Semantic roles & 50–950 ramp
primary
#9BA71B
secondary
#6056C8
accent
#39EF49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A