#BAB756#BAB756
#BAB756 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.2% C 0.120 H 107.3°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB756 |
|---|---|
| RGB | rgb(186, 183, 86) |
| HSL | hsl(58, 42%, 53%) |
| HSV | hsv(58, 54%, 73%) |
| CMYK | cmyk(0%, 1.6%, 53.8%, 27.1%) |
| CIE-LAB | lab(72.88, -11.98, 48.95) |
| CIE-LCH | lch(72.88, 50.40, 103.75°) |
| OKLab | oklab(76.2% -0.0357 0.1144) |
| OKLCH | oklch(76.2% 0.12 107.3) |
| XYZ | xyz(38.8640, 44.9790, 15.4369) |
| Luminance | 0.4498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.41
Light Olive
#ACBF69
ΔE00 6.46
Khaki (survey)
#AAA662
ΔE00 6.47
Mustard Green
#A8B504
ΔE00 6.99
Olive Yellow
#C2B709
ΔE00 7.01
Puke Yellow
#C2BE0E
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB756 #5659BA
analogous
#BA8556 #BAB756 #8BBA56
triadic
#BAB756 #56BAB7 #B756BA
tetradic
#BAB756 #56BA85 #5659BA #BA568B
square
#BAB756 #56BA85 #5659BA #BA568B
split-complementary
#BAB756 #568BBA #8556BA
monochromatic
#6A682B #96933D #BAB756 #CCCA81 #DDDCAD
Accessibility & contrast
On white
2.10
#BAB756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.00
#BAB756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB756
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB756 | 1.00 | 2.10 | 10.00 | 10.00 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B14C
Deuteranopia (green-blind)
#C6B55B
Tritanopia (blue-blind)
#C6ADA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab756; /* rgb */ color: rgb(186, 183, 86); /* oklch */ color: oklch(76.2% 0.120 107.3);
Tailwind
colors: {
custom: {
50: '#d1cc89',
500: '#bab756',
950: '#000000',
},
}SCSS
$custom: #bab756; $custom-light: #d1cc89; $custom-dark: #000000;
JSON
{
"hex": "#bab756",
"rgb": {
"r": 186,
"g": 183,
"b": 86
},
"hsl": {
"h": 58.2,
"s": 42.017,
"l": 53.333
},
"oklch": {
"l": 0.76204,
"c": 0.11987,
"h": 107.3
},
"luminance": 0.44978
}Semantic roles & 50–950 ramp
primary
#BAB756
secondary
#A0A2CB
accent
#5AD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D