#BAB843#BAB843
#BAB843 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.137 H 108.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB843 |
|---|---|
| RGB | rgb(186, 184, 67) |
| HSL | hsl(59, 47%, 50%) |
| HSV | hsv(59, 64%, 73%) |
| CMYK | cmyk(0%, 1.1%, 64%, 27.1%) |
| CIE-LAB | lab(72.98, -13.87, 57.53) |
| CIE-LCH | lch(72.98, 59.17, 103.55°) |
| OKLab | oklab(76.22% -0.0431 0.1302) |
| OKLCH | oklch(76.22% 0.137 108.3) |
| XYZ | xyz(38.4046, 45.1265, 11.9964) |
| Luminance | 0.4512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.65
Olive Yellow
#C2B709
ΔE00 4.86
Mustard Green
#A8B504
ΔE00 4.96
Snot
#ACBB0D
ΔE00 5.00
Vomit Yellow
#C7C10C
ΔE00 5.36
Bile
#B5C306
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB843 #4345BA
analogous
#BA7D43 #BAB843 #80BA43
triadic
#BAB843 #43BAB8 #B843BA
tetradic
#BAB843 #43BA7D #4345BA #BA4380
square
#BAB843 #43BA7D #4345BA #BA4380
split-complementary
#BAB843 #4380BA #7D43BA
monochromatic
#605F23 #8D8B33 #BAB843 #CBCA6F #DBDA9C
Accessibility & contrast
On white
2.09
#BAB843 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#BAB843 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB843
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB843 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB843 | 1.00 | 2.09 | 10.02 | 10.02 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B134
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab843; /* rgb */ color: rgb(186, 184, 67); /* oklch */ color: oklch(76.2% 0.137 108.3);
Tailwind
colors: {
custom: {
50: '#d2cd7d',
500: '#bab843',
950: '#000000',
},
}SCSS
$custom: #bab843; $custom-light: #d2cd7d; $custom-dark: #000000;
JSON
{
"hex": "#bab843",
"rgb": {
"r": 186,
"g": 184,
"b": 67
},
"hsl": {
"h": 58.992,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.76225,
"c": 0.13718,
"h": 108.3
},
"luminance": 0.45125
}Semantic roles & 50–950 ramp
primary
#BAB843
secondary
#9192C8
accent
#53D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C