#9BAA1B#9BAA1B
#9BAA1B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.154 H 116.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAA1B |
|---|---|
| RGB | rgb(155, 170, 27) |
| HSL | hsl(66, 73%, 39%) |
| HSV | hsv(66, 84%, 67%) |
| CMYK | cmyk(8.8%, 0%, 84.1%, 33.3%) |
| CIE-LAB | lab(66.36, -21.97, 63.98) |
| CIE-LCH | lch(66.36, 67.64, 108.95°) |
| OKLab | oklab(70.26% -0.0675 0.1381) |
| OKLCH | oklch(70.26% 0.154 116.1) |
| XYZ | xyz(28.0909, 35.7976, 6.4665) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.55
Puke Green
#9AAE07
ΔE00 1.59
Barf Green
#94AC02
ΔE00 1.94
Pea Green
#8EAB12
ΔE00 2.98
Vomit
#A2A415
ΔE00 3.36
Sickly Green
#94B21C
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAA1B #2A1BAA
analogous
#AA711B #9BAA1B #53AA1B
triadic
#9BAA1B #1B9BAA #AA1B9B
tetradic
#9BAA1B #1BAA71 #2A1BAA #AA1B53
square
#9BAA1B #1BAA71 #2A1BAA #AA1B53
split-complementary
#9BAA1B #1B53AA #711BAA
monochromatic
#3B400A #6B7513 #9BAA1B #C9DC26 #D6E55B
Accessibility & contrast
On white
2.57
#9BAA1B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#9BAA1B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAA1B
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAA1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAA1B | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9baa1b; /* rgb */ color: rgb(155, 170, 27); /* oklch */ color: oklch(70.3% 0.154 116.1);
Tailwind
colors: {
custom: {
50: '#bcc368',
500: '#9baa1b',
950: '#000000',
},
}SCSS
$custom: #9baa1b; $custom-light: #bcc368; $custom-dark: #000000;
JSON
{
"hex": "#9baa1b",
"rgb": {
"r": 155,
"g": 170,
"b": 27
},
"hsl": {
"h": 66.294,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.70255,
"c": 0.1537,
"h": 116.1
},
"luminance": 0.35797
}Semantic roles & 50–950 ramp
primary
#9BAA1B
secondary
#6458C9
accent
#39EF4C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A