#9BAA27#9BAA27
#9BAA27 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.148 H 116.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9BAA27 |
|---|---|
| RGB | rgb(155, 170, 39) |
| HSL | hsl(67, 63%, 41%) |
| HSV | hsv(67, 77%, 67%) |
| CMYK | cmyk(8.8%, 0%, 77.1%, 33.3%) |
| CIE-LAB | lab(66.42, -21.53, 60.65) |
| CIE-LCH | lch(66.42, 64.36, 109.54°) |
| OKLab | oklab(70.31% -0.0654 0.1331) |
| OKLCH | oklch(70.31% 0.148 116.2) |
| XYZ | xyz(28.2593, 35.8649, 7.3530) |
| Luminance | 0.3586 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.65
Puke Green
#9AAE07
ΔE00 2.18
Barf Green
#94AC02
ΔE00 2.35
Pea Green
#8EAB12
ΔE00 2.96
Icky Green
#8FAE22
ΔE00 3.36
Sickly Green
#94B21C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BAA27 #3627AA
analogous
#AA7727 #9BAA27 #59AA27
triadic
#9BAA27 #279BAA #AA279B
tetradic
#9BAA27 #27AA77 #3627AA #AA2759
square
#9BAA27 #27AA77 #3627AA #AA2759
split-complementary
#9BAA27 #2759AA #7727AA
monochromatic
#404610 #6E781C #9BAA27 #C1D23C #D1DE6E
Accessibility & contrast
On white
2.57
#9BAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#9BAA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BAA27
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BAA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BAA27 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A102
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#A5A092
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9baa27; /* rgb */ color: rgb(155, 170, 39); /* oklch */ color: oklch(70.3% 0.148 116.2);
Tailwind
colors: {
custom: {
50: '#bcc36c',
500: '#9baa27',
950: '#000000',
},
}SCSS
$custom: #9baa27; $custom-light: #bcc36c; $custom-dark: #000000;
JSON
{
"hex": "#9baa27",
"rgb": {
"r": 155,
"g": 170,
"b": 39
},
"hsl": {
"h": 66.87,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.70312,
"c": 0.14828,
"h": 116.2
},
"luminance": 0.35864
}Semantic roles & 50–950 ramp
primary
#9BAA27
secondary
#7369C4
accent
#42E655
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A