#BAB04B#BAB04B
#BAB04B is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.123 H 103.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB04B |
|---|---|
| RGB | rgb(186, 176, 75) |
| HSL | hsl(55, 45%, 51%) |
| HSV | hsv(55, 60%, 73%) |
| CMYK | cmyk(0%, 5.4%, 59.7%, 27.1%) |
| CIE-LAB | lab(70.87, -9.21, 51.78) |
| CIE-LCH | lch(70.87, 52.59, 100.08°) |
| OKLab | oklab(74.57% -0.029 0.1192) |
| OKLCH | oklch(74.57% 0.123 103.7) |
| XYZ | xyz(37.0463, 41.9991, 12.8104) |
| Luminance | 0.4200 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.62
Muddy Yellow
#BFAC05
ΔE00 5.82
Olive Yellow
#C2B709
ΔE00 6.00
Khaki (survey)
#AAA662
ΔE00 6.34
Vomit
#A2A415
ΔE00 6.35
Puke
#A5A502
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB04B #4B55BA
analogous
#BA784B #BAB04B #8CBA4B
triadic
#BAB04B #4BBAB0 #B04BBA
tetradic
#BAB04B #4BBA78 #4B55BA #BA4B8C
square
#BAB04B #4BBA78 #4B55BA #BA4B8C
split-complementary
#BAB04B #4B8CBA #784BBA
monochromatic
#645F26 #908837 #BAB04B #CBC377 #DCD7A3
Accessibility & contrast
On white
2.23
#BAB04B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#BAB04B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB04B
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB04B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB04B | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA40
Deuteranopia (green-blind)
#C2B050
Tritanopia (blue-blind)
#C7A59A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bab04b; /* rgb */ color: rgb(186, 176, 75); /* oklch */ color: oklch(74.6% 0.123 103.7);
Tailwind
colors: {
custom: {
50: '#d1c781',
500: '#bab04b',
950: '#000000',
},
}SCSS
$custom: #bab04b; $custom-light: #d1c781; $custom-dark: #000000;
JSON
{
"hex": "#bab04b",
"rgb": {
"r": 186,
"g": 176,
"b": 75
},
"hsl": {
"h": 54.595,
"s": 44.578,
"l": 51.176
},
"oklch": {
"l": 0.74571,
"c": 0.12265,
"h": 103.7
},
"luminance": 0.41998
}Semantic roles & 50–950 ramp
primary
#BAB04B
secondary
#989CC9
accent
#5FD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C