#BAB366#BAB366
#BAB366 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.099 H 103.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB366 |
|---|---|
| RGB | rgb(186, 179, 102) |
| HSL | hsl(55, 38%, 56%) |
| HSV | hsv(55, 45%, 73%) |
| CMYK | cmyk(0%, 3.8%, 45.2%, 27.1%) |
| CIE-LAB | lab(71.99, -8.44, 40.04) |
| CIE-LCH | lch(71.99, 40.92, 101.91°) |
| OKLab | oklab(75.56% -0.0239 0.0963) |
| OKLCH | oklch(75.56% 0.099 103.9) |
| XYZ | xyz(38.7689, 43.6397, 18.9489) |
| Luminance | 0.4364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.12
Khaki (survey)
#AAA662
ΔE00 4.22
Sand
#C2B280
ΔE00 6.40
Light Olive
#ACBF69
ΔE00 7.14
Desert
#CCAD60
ΔE00 7.39
Tan Green
#A9BE70
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB366 #666DBA
analogous
#BA8966 #BAB366 #97BA66
triadic
#BAB366 #66BAB3 #B366BA
tetradic
#BAB366 #66BA89 #666DBA #BA6697
square
#BAB366 #66BA89 #666DBA #BA6697
split-complementary
#BAB366 #6697BA #8966BA
monochromatic
#726D33 #9C9546 #BAB366 #CDC890 #E0DDBA
Accessibility & contrast
On white
2.16
#BAB366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#BAB366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB366
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB366 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAE60
Deuteranopia (green-blind)
#C2B269
Tritanopia (blue-blind)
#C5AAA1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bab366; /* rgb */ color: rgb(186, 179, 102); /* oklch */ color: oklch(75.6% 0.099 103.9);
Tailwind
colors: {
custom: {
50: '#d0c993',
500: '#bab366',
950: '#000000',
},
}SCSS
$custom: #bab366; $custom-light: #d0c993; $custom-dark: #000000;
JSON
{
"hex": "#bab366",
"rgb": {
"r": 186,
"g": 179,
"b": 102
},
"hsl": {
"h": 55,
"s": 37.838,
"l": 56.471
},
"oklch": {
"l": 0.75557,
"c": 0.09921,
"h": 103.9
},
"luminance": 0.43639
}Semantic roles & 50–950 ramp
primary
#BAB366
secondary
#ADB0CF
accent
#64CE5A
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E