#BAB13E#BAB13E
#BAB13E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.134 H 104.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB13E |
|---|---|
| RGB | rgb(186, 177, 62) |
| HSL | hsl(56, 50%, 49%) |
| HSV | hsv(56, 67%, 73%) |
| CMYK | cmyk(0%, 4.8%, 66.7%, 27.1%) |
| CIE-LAB | lab(71.03, -10.57, 57.57) |
| CIE-LCH | lch(71.03, 58.53, 100.40°) |
| OKLab | oklab(74.66% -0.0343 0.1295) |
| OKLCH | oklch(74.66% 0.134 104.8) |
| XYZ | xyz(36.8428, 42.2325, 10.7675) |
| Luminance | 0.4223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.42
Muddy Yellow
#BFAC05
ΔE00 4.62
Puke
#A5A502
ΔE00 5.35
Puke Yellow
#C2BE0E
ΔE00 5.37
Vomit
#A2A415
ΔE00 5.56
Brownish Yellow
#C9B003
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB13E #3E47BA
analogous
#BA733E #BAB13E #85BA3E
triadic
#BAB13E #3EBAB1 #B13EBA
tetradic
#BAB13E #3EBA73 #3E47BA #BA3E85
square
#BAB13E #3EBA73 #3E47BA #BA3E85
split-complementary
#BAB13E #3E85BA #733EBA
monochromatic
#5E5A1F #8C852F #BAB13E #CDC668 #DCD796
Accessibility & contrast
On white
2.22
#BAB13E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#BAB13E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB13E
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB13E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB13E | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bab13e; /* rgb */ color: rgb(186, 177, 62); /* oklch */ color: oklch(74.7% 0.134 104.8);
Tailwind
colors: {
custom: {
50: '#d2c879',
500: '#bab13e',
950: '#000000',
},
}SCSS
$custom: #bab13e; $custom-light: #d2c879; $custom-dark: #000000;
JSON
{
"hex": "#bab13e",
"rgb": {
"r": 186,
"g": 177,
"b": 62
},
"hsl": {
"h": 55.645,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.74664,
"c": 0.134,
"h": 104.8
},
"luminance": 0.42231
}Semantic roles & 50–950 ramp
primary
#BAB13E
secondary
#8C90C8
accent
#58DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B