#9BA831#9BA831
#9BA831 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.140 H 115.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9BA831 |
|---|---|
| RGB | rgb(155, 168, 49) |
| HSL | hsl(67, 55%, 43%) |
| HSV | hsv(67, 71%, 66%) |
| CMYK | cmyk(7.7%, 0%, 70.8%, 34.1%) |
| CIE-LAB | lab(65.90, -20.03, 56.68) |
| CIE-LCH | lch(65.90, 60.12, 109.46°) |
| OKLab | oklab(69.92% -0.0604 0.1264) |
| OKLCH | oklch(69.92% 0.14 115.5) |
| XYZ | xyz(28.0753, 35.1960, 8.2197) |
| Luminance | 0.3520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.16
Puke Green
#9AAE07
ΔE00 3.37
Barf Green
#94AC02
ΔE00 3.40
Pea Green
#8EAB12
ΔE00 3.64
Vomit
#A2A415
ΔE00 3.84
Icky Green
#8FAE22
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9BA831 #3E31A8
analogous
#A87A31 #9BA831 #5FA831
triadic
#9BA831 #319BA8 #A8319B
tetradic
#9BA831 #31A87A #3E31A8 #A8315F
square
#9BA831 #31A87A #3E31A8 #A8315F
split-complementary
#9BA831 #315FA8 #7A31A8
monochromatic
#444915 #6F7923 #9BA831 #BDCB4C #CED87B
Accessibility & contrast
On white
2.61
#9BA831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#9BA831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9BA831
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9BA831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9BA831 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1D
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#A59E91
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9ba831; /* rgb */ color: rgb(155, 168, 49); /* oklch */ color: oklch(69.9% 0.140 115.5);
Tailwind
colors: {
custom: {
50: '#bcc171',
500: '#9ba831',
950: '#000000',
},
}SCSS
$custom: #9ba831; $custom-light: #bcc171; $custom-dark: #000000;
JSON
{
"hex": "#9ba831",
"rgb": {
"r": 155,
"g": 168,
"b": 49
},
"hsl": {
"h": 66.555,
"s": 54.839,
"l": 42.549
},
"oklch": {
"l": 0.69917,
"c": 0.14011,
"h": 115.5
},
"luminance": 0.35196
}Semantic roles & 50–950 ramp
primary
#9BA831
secondary
#7C74C1
accent
#4ADE5A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B