#BAB33D#BAB33D
#BAB33D is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.137 H 105.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB33D |
|---|---|
| RGB | rgb(186, 179, 61) |
| HSL | hsl(57, 51%, 48%) |
| HSV | hsv(57, 67%, 73%) |
| CMYK | cmyk(0%, 3.8%, 67.2%, 27.1%) |
| CIE-LAB | lab(71.57, -11.66, 58.52) |
| CIE-LCH | lch(71.57, 59.67, 101.27°) |
| OKLab | oklab(75.09% -0.0375 0.1314) |
| OKLCH | oklch(75.09% 0.137 105.9) |
| XYZ | xyz(37.2135, 43.0175, 10.7569) |
| Luminance | 0.4302 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.17
Puke Yellow
#C2BE0E
ΔE00 4.83
Muddy Yellow
#BFAC05
ΔE00 4.90
Puke
#A5A502
ΔE00 5.39
Mustard Green
#A8B504
ΔE00 5.50
Vomit Yellow
#C7C10C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB33D #3D44BA
analogous
#BA743D #BAB33D #82BA3D
triadic
#BAB33D #3DBAB3 #B33DBA
tetradic
#BAB33D #3DBA74 #3D44BA #BA3D82
square
#BAB33D #3DBA74 #3D44BA #BA3D82
split-complementary
#BAB33D #3D82BA #743DBA
monochromatic
#5E5A1F #8C872E #BAB33D #CDC767 #DCD895
Accessibility & contrast
On white
2.19
#BAB33D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#BAB33D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB33D
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB33D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB33D | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD2C
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bab33d; /* rgb */ color: rgb(186, 179, 61); /* oklch */ color: oklch(75.1% 0.137 105.9);
Tailwind
colors: {
custom: {
50: '#d2c979',
500: '#bab33d',
950: '#000000',
},
}SCSS
$custom: #bab33d; $custom-light: #d2c979; $custom-dark: #000000;
JSON
{
"hex": "#bab33d",
"rgb": {
"r": 186,
"g": 179,
"b": 61
},
"hsl": {
"h": 56.64,
"s": 50.607,
"l": 48.431
},
"oklch": {
"l": 0.75088,
"c": 0.13663,
"h": 105.9
},
"luminance": 0.43016
}Semantic roles & 50–950 ramp
primary
#BAB33D
secondary
#8B8EC8
accent
#56DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B