#BABB4E#BABB4E
#BABB4E is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.0% C 0.131 H 109.6°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BABB4E |
|---|---|
| RGB | rgb(186, 187, 78) |
| HSL | hsl(61, 44%, 52%) |
| HSV | hsv(61, 58%, 73%) |
| CMYK | cmyk(0.5%, 0%, 58.3%, 26.7%) |
| CIE-LAB | lab(73.89, -14.65, 53.77) |
| CIE-LCH | lch(73.89, 55.73, 105.24°) |
| OKLab | oklab(76.98% -0.0441 0.1238) |
| OKLCH | oklch(76.98% 0.131 109.6) |
| XYZ | xyz(39.3963, 46.5308, 14.1123) |
| Luminance | 0.4653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.10
Snot
#ACBB0D
ΔE00 5.44
Mustard Green
#A8B504
ΔE00 5.64
Puke Yellow
#C2BE0E
ΔE00 5.71
Bile
#B5C306
ΔE00 6.00
Baby Puke Green
#B6C406
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABB4E #4F4EBB
analogous
#BB854E #BABB4E #84BB4E
triadic
#BABB4E #4EBABB #BB4EBA
tetradic
#BABB4E #4EBB85 #4F4EBB #BB4E84
square
#BABB4E #4EBB85 #4F4EBB #BB4E84
split-complementary
#BABB4E #4E84BB #854EBB
monochromatic
#666728 #929339 #BABB4E #CBCC7A #DCDDA6
Accessibility & contrast
On white
2.04
#BABB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#BABB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABB4E
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABB4E | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#CAB754
Tritanopia (blue-blind)
#C6B0A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #babb4e; /* rgb */ color: rgb(186, 187, 78); /* oklch */ color: oklch(77.0% 0.131 109.6);
Tailwind
colors: {
custom: {
50: '#d1cf84',
500: '#babb4e',
950: '#000000',
},
}SCSS
$custom: #babb4e; $custom-light: #d1cf84; $custom-dark: #000000;
JSON
{
"hex": "#babb4e",
"rgb": {
"r": 186,
"g": 187,
"b": 78
},
"hsl": {
"h": 60.55,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.76984,
"c": 0.13144,
"h": 109.6
},
"luminance": 0.4653
}Semantic roles & 50–950 ramp
primary
#BABB4E
secondary
#9B9BCA
accent
#54D455
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C