#BABA2E#BABA2E
#BABA2E is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.153 H 109.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BABA2E |
|---|---|
| RGB | rgb(186, 186, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 73%) |
| CMYK | cmyk(0%, 0%, 75.3%, 27.1%) |
| CIE-LAB | lab(73.39, -15.97, 65.73) |
| CIE-LCH | lch(73.39, 67.64, 103.65°) |
| OKLab | oklab(76.51% -0.051 0.144) |
| OKLCH | oklch(76.51% 0.153 109.5) |
| XYZ | xyz(38.3032, 45.7553, 9.3982) |
| Luminance | 0.4575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.73
Snot
#ACBB0D
ΔE00 3.53
Olive Yellow
#C2B709
ΔE00 3.55
Vomit Yellow
#C7C10C
ΔE00 3.62
Mustard Green
#A8B504
ΔE00 3.72
Bile
#B5C306
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABA2E #2E2EBA
analogous
#BA742E #BABA2E #74BA2E
triadic
#BABA2E #2EBABA #BA2EBA
tetradic
#BABA2E #2EBA74 #2E2EBA #BA2E74
square
#BABA2E #2EBA74 #2E2EBA #BA2E74
split-complementary
#BABA2E #2E74BA #742EBA
monochromatic
#585816 #898922 #BABA2E #D4D451 #E0E082
Accessibility & contrast
On white
2.07
#BABA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#BABA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABA2E
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABA2E | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B20B
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#C7AEA0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #baba2e; /* rgb */ color: rgb(186, 186, 46); /* oklch */ color: oklch(76.5% 0.153 109.5);
Tailwind
colors: {
custom: {
50: '#d3ce72',
500: '#baba2e',
950: '#000000',
},
}SCSS
$custom: #baba2e; $custom-light: #d3ce72; $custom-dark: #000000;
JSON
{
"hex": "#baba2e",
"rgb": {
"r": 186,
"g": 186,
"b": 46
},
"hsl": {
"h": 60,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.7651,
"c": 0.15275,
"h": 109.5
},
"luminance": 0.45754
}Semantic roles & 50–950 ramp
primary
#BABA2E
secondary
#7B7BC9
accent
#44E344
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B