#BAB367#BAB367
#BAB367 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.098 H 103.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB367 |
|---|---|
| RGB | rgb(186, 179, 103) |
| HSL | hsl(55, 38%, 57%) |
| HSV | hsv(55, 45%, 73%) |
| CMYK | cmyk(0%, 3.8%, 44.6%, 27.1%) |
| CIE-LAB | lab(72.00, -8.34, 39.55) |
| CIE-LCH | lch(72.00, 40.42, 101.91°) |
| OKLab | oklab(75.57% -0.0235 0.0953) |
| OKLCH | oklch(75.57% 0.098 103.9) |
| XYZ | xyz(38.8188, 43.6597, 19.2116) |
| Luminance | 0.4366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.09
Khaki (survey)
#AAA662
ΔE00 4.16
Sand
#C2B280
ΔE00 6.25
Light Olive
#ACBF69
ΔE00 7.16
Desert
#CCAD60
ΔE00 7.39
Sandstone
#C9AE74
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB367 #676EBA
analogous
#BA8A67 #BAB367 #98BA67
triadic
#BAB367 #67BAB3 #B367BA
tetradic
#BAB367 #67BA8A #676EBA #BA6798
square
#BAB367 #67BA8A #676EBA #BA6798
split-complementary
#BAB367 #6798BA #8A67BA
monochromatic
#736D34 #9D9547 #BAB367 #CDC891 #E0DDBB
Accessibility & contrast
On white
2.16
#BAB367 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#BAB367 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB367
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB367 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB367 | 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)
#BFAE61
Deuteranopia (green-blind)
#C2B26A
Tritanopia (blue-blind)
#C5AAA1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bab367; /* rgb */ color: rgb(186, 179, 103); /* oklch */ color: oklch(75.6% 0.098 103.9);
Tailwind
colors: {
custom: {
50: '#d0c994',
500: '#bab367',
950: '#000000',
},
}SCSS
$custom: #bab367; $custom-light: #d0c994; $custom-dark: #000000;
JSON
{
"hex": "#bab367",
"rgb": {
"r": 186,
"g": 179,
"b": 103
},
"hsl": {
"h": 54.94,
"s": 37.557,
"l": 56.667
},
"oklch": {
"l": 0.75572,
"c": 0.09812,
"h": 103.9
},
"luminance": 0.43659
}Semantic roles & 50–950 ramp
primary
#BAB367
secondary
#ADB0CF
accent
#64CE5A
background
#FCFCF9
surface
#F9F8F1
border
#D2D1CB
text
#14130D
muted
#82827E