#BABA4E#BABA4E
#BABA4E is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.130 H 109.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #BABA4E |
|---|---|
| RGB | rgb(186, 186, 78) |
| HSL | hsl(60, 44%, 52%) |
| HSV | hsv(60, 58%, 73%) |
| CMYK | cmyk(0%, 0%, 58.1%, 27.1%) |
| CIE-LAB | lab(73.62, -14.14, 53.46) |
| CIE-LCH | lch(73.62, 55.30, 104.82°) |
| OKLab | oklab(76.77% -0.0427 0.1232) |
| OKLCH | oklch(76.77% 0.13 109.1) |
| XYZ | xyz(39.1849, 46.1080, 14.0418) |
| Luminance | 0.4611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.92
Snot
#ACBB0D
ΔE00 5.60
Mustard Green
#A8B504
ΔE00 5.72
Puke Yellow
#C2BE0E
ΔE00 5.75
Olive Yellow
#C2B709
ΔE00 6.17
Bile
#B5C306
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABA4E #4E4EBA
analogous
#BA844E #BABA4E #84BA4E
triadic
#BABA4E #4EBABA #BA4EBA
tetradic
#BABA4E #4EBA84 #4E4EBA #BA4E84
square
#BABA4E #4EBA84 #4E4EBA #BA4E84
split-complementary
#BABA4E #4E84BA #844EBA
monochromatic
#666628 #929239 #BABA4E #CBCB7A #DCDCA6
Accessibility & contrast
On white
2.05
#BABA4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.22
#BABA4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABA4E
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABA4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABA4E | 1.00 | 2.05 | 10.22 | 10.22 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#C9B754
Tritanopia (blue-blind)
#C6AFA3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #baba4e; /* rgb */ color: rgb(186, 186, 78); /* oklch */ color: oklch(76.8% 0.130 109.1);
Tailwind
colors: {
custom: {
50: '#d1ce84',
500: '#baba4e',
950: '#000000',
},
}SCSS
$custom: #baba4e; $custom-light: #d1ce84; $custom-dark: #000000;
JSON
{
"hex": "#baba4e",
"rgb": {
"r": 186,
"g": 186,
"b": 78
},
"hsl": {
"h": 60,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.76766,
"c": 0.13036,
"h": 109.1
},
"luminance": 0.46107
}Semantic roles & 50–950 ramp
primary
#BABA4E
secondary
#9A9ACA
accent
#54D454
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C