#BAB34A#BAB34A
#BAB34A is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.2% C 0.126 H 105.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB34A |
|---|---|
| RGB | rgb(186, 179, 74) |
| HSL | hsl(56, 45%, 51%) |
| HSV | hsv(56, 60%, 73%) |
| CMYK | cmyk(0%, 3.8%, 60.2%, 27.1%) |
| CIE-LAB | lab(71.67, -10.83, 53.11) |
| CIE-LCH | lch(71.67, 54.20, 101.53°) |
| OKLab | oklab(75.21% -0.0337 0.1219) |
| OKLCH | oklch(75.21% 0.126 105.5) |
| XYZ | xyz(37.6071, 43.1750, 12.8298) |
| Luminance | 0.4317 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.68
Olive Yellow
#C2B709
ΔE00 5.59
Muddy Yellow
#BFAC05
ΔE00 6.05
Puke Yellow
#C2BE0E
ΔE00 6.12
Vomit
#A2A415
ΔE00 6.27
Puke
#A5A502
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB34A #4A51BA
analogous
#BA7B4A #BAB34A #89BA4A
triadic
#BAB34A #4ABAB3 #B34ABA
tetradic
#BAB34A #4ABA7B #4A51BA #BA4A89
square
#BAB34A #4ABA7B #4A51BA #BA4A89
split-complementary
#BAB34A #4A89BA #7B4ABA
monochromatic
#646026 #908A37 #BAB34A #CBC676 #DCD8A3
Accessibility & contrast
On white
2.18
#BAB34A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#BAB34A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB34A
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB34A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB34A | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD3E
Deuteranopia (green-blind)
#C4B250
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bab34a; /* rgb */ color: rgb(186, 179, 74); /* oklch */ color: oklch(75.2% 0.126 105.5);
Tailwind
colors: {
custom: {
50: '#d1c981',
500: '#bab34a',
950: '#000000',
},
}SCSS
$custom: #bab34a; $custom-light: #d1c981; $custom-dark: #000000;
JSON
{
"hex": "#bab34a",
"rgb": {
"r": 186,
"g": 179,
"b": 74
},
"hsl": {
"h": 56.25,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.75207,
"c": 0.12647,
"h": 105.5
},
"luminance": 0.43174
}Semantic roles & 50–950 ramp
primary
#BAB34A
secondary
#979AC9
accent
#5BD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C