#BAB445#BAB445
#BAB445 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.132 H 106.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB445 |
|---|---|
| RGB | rgb(186, 180, 69) |
| HSL | hsl(57, 46%, 50%) |
| HSV | hsv(57, 63%, 73%) |
| CMYK | cmyk(0%, 3.2%, 62.9%, 27.1%) |
| CIE-LAB | lab(71.90, -11.69, 55.55) |
| CIE-LCH | lch(71.90, 56.76, 101.88°) |
| OKLab | oklab(75.37% -0.0367 0.1264) |
| OKLCH | oklch(75.37% 0.132 106.2) |
| XYZ | xyz(37.6464, 43.5125, 12.0448) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.97
Darkkhaki
#BDB76B
ΔE00 5.32
Puke Yellow
#C2BE0E
ΔE00 5.40
Muddy Yellow
#BFAC05
ΔE00 5.74
Mustard Green
#A8B504
ΔE00 5.83
Puke
#A5A502
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB445 #454BBA
analogous
#BA7945 #BAB445 #86BA45
triadic
#BAB445 #45BAB4 #B445BA
tetradic
#BAB445 #45BA79 #454BBA #BA4586
square
#BAB445 #45BA79 #454BBA #BA4586
split-complementary
#BAB445 #4586BA #7945BA
monochromatic
#615E24 #8D8934 #BAB445 #CBC672 #DBD89E
Accessibility & contrast
On white
2.16
#BAB445 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#BAB445 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB445
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB445 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB445 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bab445; /* rgb */ color: rgb(186, 180, 69); /* oklch */ color: oklch(75.4% 0.132 106.2);
Tailwind
colors: {
custom: {
50: '#d2ca7e',
500: '#bab445',
950: '#000000',
},
}SCSS
$custom: #bab445; $custom-light: #d2ca7e; $custom-dark: #000000;
JSON
{
"hex": "#bab445",
"rgb": {
"r": 186,
"g": 180,
"b": 69
},
"hsl": {
"h": 56.923,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.75374,
"c": 0.13158,
"h": 106.2
},
"luminance": 0.43511
}Semantic roles & 50–950 ramp
primary
#BAB445
secondary
#9396C8
accent
#59D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C