#BAB462#BAB462
#BAB462 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 75.7% C 0.105 H 104.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB462 |
|---|---|
| RGB | rgb(186, 180, 98) |
| HSL | hsl(56, 39%, 56%) |
| HSV | hsv(56, 47%, 73%) |
| CMYK | cmyk(0%, 3.2%, 47.3%, 27.1%) |
| CIE-LAB | lab(72.20, -9.36, 42.32) |
| CIE-LCH | lch(72.20, 43.34, 102.47°) |
| OKLab | oklab(75.71% -0.0269 0.1011) |
| OKLCH | oklch(75.71% 0.105 104.9) |
| XYZ | xyz(38.7765, 43.9646, 17.9963) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.39
Khaki (survey)
#AAA662
ΔE00 4.69
Light Olive
#ACBF69
ΔE00 6.80
Sand
#C2B280
ΔE00 7.23
Tan Green
#A9BE70
ΔE00 7.55
Greenish Tan
#BCCB7A
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB462 #6268BA
analogous
#BA8862 #BAB462 #94BA62
triadic
#BAB462 #62BAB4 #B462BA
tetradic
#BAB462 #62BA88 #6268BA #BA6294
square
#BAB462 #62BA88 #6268BA #BA6294
split-complementary
#BAB462 #6294BA #8862BA
monochromatic
#706C31 #9B9544 #BAB462 #CDC88D #DFDDB7
Accessibility & contrast
On white
2.14
#BAB462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#BAB462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB462
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB462 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AF5B
Deuteranopia (green-blind)
#C3B366
Tritanopia (blue-blind)
#C5AAA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bab462; /* rgb */ color: rgb(186, 180, 98); /* oklch */ color: oklch(75.7% 0.105 104.9);
Tailwind
colors: {
custom: {
50: '#d0ca90',
500: '#bab462',
950: '#000000',
},
}SCSS
$custom: #bab462; $custom-light: #d0ca90; $custom-dark: #000000;
JSON
{
"hex": "#bab462",
"rgb": {
"r": 186,
"g": 180,
"b": 98
},
"hsl": {
"h": 55.909,
"s": 38.938,
"l": 55.686
},
"oklch": {
"l": 0.75713,
"c": 0.10458,
"h": 104.9
},
"luminance": 0.43963
}Semantic roles & 50–950 ramp
primary
#BAB462
secondary
#AAACCE
accent
#61CF59
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130D
muted
#83827D