#BAB741#BAB741
#BAB741 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.138 H 107.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB741 |
|---|---|
| RGB | rgb(186, 183, 65) |
| HSL | hsl(59, 48%, 49%) |
| HSV | hsv(59, 65%, 73%) |
| CMYK | cmyk(0%, 1.6%, 65.1%, 27.1%) |
| CIE-LAB | lab(72.69, -13.48, 58.05) |
| CIE-LCH | lch(72.69, 59.59, 103.07°) |
| OKLab | oklab(75.99% -0.0422 0.131) |
| OKLCH | oklch(75.99% 0.138 107.9) |
| XYZ | xyz(38.1386, 44.6889, 11.6168) |
| Luminance | 0.4469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.54
Olive Yellow
#C2B709
ΔE00 4.59
Mustard Green
#A8B504
ΔE00 4.96
Snot
#ACBB0D
ΔE00 5.09
Vomit Yellow
#C7C10C
ΔE00 5.28
Bile
#B5C306
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB741 #4144BA
analogous
#BA7A41 #BAB741 #81BA41
triadic
#BAB741 #41BAB7 #B741BA
tetradic
#BAB741 #41BA7A #4144BA #BA4181
square
#BAB741 #41BA7A #4144BA #BA4181
split-complementary
#BAB741 #4181BA #7A41BA
monochromatic
#5F5E21 #8D8A31 #BAB741 #CCC96C #DCDA9A
Accessibility & contrast
On white
2.11
#BAB741 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#BAB741 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB741
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB741 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB741 | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B031
Deuteranopia (green-blind)
#C8B449
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab741; /* rgb */ color: rgb(186, 183, 65); /* oklch */ color: oklch(76.0% 0.138 107.9);
Tailwind
colors: {
custom: {
50: '#d2cc7c',
500: '#bab741',
950: '#000000',
},
}SCSS
$custom: #bab741; $custom-light: #d2cc7c; $custom-dark: #000000;
JSON
{
"hex": "#bab741",
"rgb": {
"r": 186,
"g": 183,
"b": 65
},
"hsl": {
"h": 58.512,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.7599,
"c": 0.13766,
"h": 107.9
},
"luminance": 0.44688
}Semantic roles & 50–950 ramp
primary
#BAB741
secondary
#8F91C8
accent
#53D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C