#BAB33E#BAB33E
#BAB33E is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.136 H 105.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB33E |
|---|---|
| RGB | rgb(186, 179, 62) |
| HSL | hsl(57, 50%, 49%) |
| HSV | hsv(57, 67%, 73%) |
| CMYK | cmyk(0%, 3.8%, 66.7%, 27.1%) |
| CIE-LAB | lab(71.57, -11.60, 58.12) |
| CIE-LCH | lch(71.57, 59.27, 101.29°) |
| OKLab | oklab(75.1% -0.0372 0.1307) |
| OKLCH | oklch(75.1% 0.136 105.9) |
| XYZ | xyz(37.2407, 43.0284, 10.9001) |
| Luminance | 0.4303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.27
Puke Yellow
#C2BE0E
ΔE00 4.91
Muddy Yellow
#BFAC05
ΔE00 4.98
Puke
#A5A502
ΔE00 5.45
Mustard Green
#A8B504
ΔE00 5.56
Vomit Yellow
#C7C10C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB33E #3E45BA
analogous
#BA753E #BAB33E #83BA3E
triadic
#BAB33E #3EBAB3 #B33EBA
tetradic
#BAB33E #3EBA75 #3E45BA #BA3E83
square
#BAB33E #3EBA75 #3E45BA #BA3E83
split-complementary
#BAB33E #3E83BA #753EBA
monochromatic
#5E5B1F #8C872F #BAB33E #CDC768 #DCD896
Accessibility & contrast
On white
2.19
#BAB33E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#BAB33E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB33E
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB33E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB33E | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bab33e; /* rgb */ color: rgb(186, 179, 62); /* oklch */ color: oklch(75.1% 0.136 105.9);
Tailwind
colors: {
custom: {
50: '#d2c97a',
500: '#bab33e',
950: '#000000',
},
}SCSS
$custom: #bab33e; $custom-light: #d2c97a; $custom-dark: #000000;
JSON
{
"hex": "#bab33e",
"rgb": {
"r": 186,
"g": 179,
"b": 62
},
"hsl": {
"h": 56.613,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.75096,
"c": 0.13591,
"h": 105.9
},
"luminance": 0.43027
}Semantic roles & 50–950 ramp
primary
#BAB33E
secondary
#8C8FC8
accent
#56DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C