#BAB03E#BAB03E
#BAB03E is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.133 H 104.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB03E |
|---|---|
| RGB | rgb(186, 176, 62) |
| HSL | hsl(55, 50%, 49%) |
| HSV | hsv(55, 67%, 73%) |
| CMYK | cmyk(0%, 5.4%, 66.7%, 27.1%) |
| CIE-LAB | lab(70.76, -10.05, 57.29) |
| CIE-LCH | lch(70.76, 58.16, 99.95°) |
| OKLab | oklab(74.45% -0.0328 0.1289) |
| OKLCH | oklch(74.45% 0.133 104.3) |
| XYZ | xyz(36.6460, 41.8390, 10.7019) |
| Luminance | 0.4184 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.47
Olive Yellow
#C2B709
ΔE00 4.55
Puke
#A5A502
ΔE00 5.35
Vomit
#A2A415
ΔE00 5.55
Puke Yellow
#C2BE0E
ΔE00 5.62
Brownish Yellow
#C9B003
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB03E #3E48BA
analogous
#BA723E #BAB03E #86BA3E
triadic
#BAB03E #3EBAB0 #B03EBA
tetradic
#BAB03E #3EBA72 #3E48BA #BA3E86
square
#BAB03E #3EBA72 #3E48BA #BA3E86
split-complementary
#BAB03E #3E86BA #723EBA
monochromatic
#5E591F #8C852F #BAB03E #CDC568 #DCD696
Accessibility & contrast
On white
2.24
#BAB03E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#BAB03E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB03E
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB03E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB03E | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bab03e; /* rgb */ color: rgb(186, 176, 62); /* oklch */ color: oklch(74.4% 0.133 104.3);
Tailwind
colors: {
custom: {
50: '#d2c779',
500: '#bab03e',
950: '#000000',
},
}SCSS
$custom: #bab03e; $custom-light: #d2c779; $custom-dark: #000000;
JSON
{
"hex": "#bab03e",
"rgb": {
"r": 186,
"g": 176,
"b": 62
},
"hsl": {
"h": 55.161,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.74448,
"c": 0.13306,
"h": 104.3
},
"luminance": 0.41838
}Semantic roles & 50–950 ramp
primary
#BAB03E
secondary
#8C91C8
accent
#5ADA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B