#BAB746#BAB746
#BAB746 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.134 H 107.7°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB746 |
|---|---|
| RGB | rgb(186, 183, 70) |
| HSL | hsl(58, 46%, 50%) |
| HSV | hsv(58, 62%, 73%) |
| CMYK | cmyk(0%, 1.6%, 62.4%, 27.1%) |
| CIE-LAB | lab(72.73, -13.17, 56.00) |
| CIE-LCH | lch(72.73, 57.52, 103.23°) |
| OKLab | oklab(76.03% -0.0408 0.1275) |
| OKLCH | oklch(76.03% 0.134 107.7) |
| XYZ | xyz(38.2899, 44.7494, 12.4137) |
| Luminance | 0.4475 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 5.06
Olive Yellow
#C2B709
ΔE00 5.10
Mustard Green
#A8B504
ΔE00 5.35
Darkkhaki
#BDB76B
ΔE00 5.43
Snot
#ACBB0D
ΔE00 5.47
Vomit Yellow
#C7C10C
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB746 #4649BA
analogous
#BA7D46 #BAB746 #83BA46
triadic
#BAB746 #46BAB7 #B746BA
tetradic
#BAB746 #46BA7D #4649BA #BA4683
square
#BAB746 #46BA7D #4649BA #BA4683
split-complementary
#BAB746 #4683BA #7D46BA
monochromatic
#616024 #8E8C35 #BAB746 #CBC873 #DBDA9F
Accessibility & contrast
On white
2.11
#BAB746 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#BAB746 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB746
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB746 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB746 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B038
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab746; /* rgb */ color: rgb(186, 183, 70); /* oklch */ color: oklch(76.0% 0.134 107.7);
Tailwind
colors: {
custom: {
50: '#d2cc7f',
500: '#bab746',
950: '#000000',
},
}SCSS
$custom: #bab746; $custom-light: #d2cc7f; $custom-dark: #000000;
JSON
{
"hex": "#bab746",
"rgb": {
"r": 186,
"g": 183,
"b": 70
},
"hsl": {
"h": 58.448,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.76034,
"c": 0.13382,
"h": 107.7
},
"luminance": 0.44748
}Semantic roles & 50–950 ramp
primary
#BAB746
secondary
#9495C8
accent
#56D552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C