#9BA61B#9BA61B
#9BA61B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.149 H 114.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA61B |
|---|---|
| RGB | rgb(155, 166, 27) |
| HSL | hsl(65, 72%, 38%) |
| HSV | hsv(65, 84%, 65%) |
| CMYK | cmyk(6.6%, 0%, 83.7%, 34.9%) |
| CIE-LAB | lab(65.22, -19.96, 63.00) |
| CIE-LCH | lch(65.22, 66.09, 107.58°) |
| OKLab | oklab(69.33% -0.062 0.136) |
| OKLCH | oklch(69.33% 0.149 114.5) |
| XYZ | xyz(27.3525, 34.3207, 6.2204) |
| Luminance | 0.3432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.65
Vomit
#A2A415
ΔE00 2.33
Puke Green
#9AAE07
ΔE00 2.81
Barf Green
#94AC02
ΔE00 3.02
Puke
#A5A502
ΔE00 3.22
Vomit Green
#89A203
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA61B #261BA6
analogous
#A66B1B #9BA61B #56A61B
triadic
#9BA61B #1B9BA6 #A61B9B
tetradic
#9BA61B #1BA66B #261BA6 #A61B56
square
#9BA61B #1BA66B #261BA6 #A61B56
split-complementary
#9BA61B #1B56A6 #6B1BA6
monochromatic
#393D0A #6A7112 #9BA61B #CCDB24 #D9E458
Accessibility & contrast
On white
2.67
#9BA61B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#9BA61B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA61B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA61B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA61B | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B29F2A
Tritanopia (blue-blind)
#A69C8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #9ba61b; /* rgb */ color: rgb(155, 166, 27); /* oklch */ color: oklch(69.3% 0.149 114.5);
Tailwind
colors: {
custom: {
50: '#bcc067',
500: '#9ba61b',
950: '#000000',
},
}SCSS
$custom: #9ba61b; $custom-light: #bcc067; $custom-dark: #000000;
JSON
{
"hex": "#9ba61b",
"rgb": {
"r": 155,
"g": 166,
"b": 27
},
"hsl": {
"h": 64.748,
"s": 72.021,
"l": 37.843
},
"oklch": {
"l": 0.69332,
"c": 0.14944,
"h": 114.5
},
"luminance": 0.3432
}Semantic roles & 50–950 ramp
primary
#9BA61B
secondary
#5F56C7
accent
#39EF47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A