#BAB933#BAB933
#BAB933 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.149 H 109.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB933 |
|---|---|
| RGB | rgb(186, 185, 51) |
| HSL | hsl(60, 57%, 46%) |
| HSV | hsv(60, 73%, 73%) |
| CMYK | cmyk(0%, 0.5%, 72.6%, 27.1%) |
| CIE-LAB | lab(73.14, -15.24, 63.82) |
| CIE-LCH | lch(73.14, 65.62, 103.43°) |
| OKLab | oklab(76.32% -0.0486 0.1408) |
| OKLCH | oklch(76.32% 0.149 109) |
| XYZ | xyz(38.1976, 45.3772, 9.8779) |
| Luminance | 0.4538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.13
Olive Yellow
#C2B709
ΔE00 3.66
Snot
#ACBB0D
ΔE00 3.90
Mustard Green
#A8B504
ΔE00 3.96
Vomit Yellow
#C7C10C
ΔE00 3.98
Bile
#B5C306
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB933 #3334BA
analogous
#BA7633 #BAB933 #78BA33
triadic
#BAB933 #33BAB9 #B933BA
tetradic
#BAB933 #33BA76 #3334BA #BA3378
square
#BAB933 #33BA76 #3334BA #BA3378
split-complementary
#BAB933 #3378BA #7633BA
monochromatic
#5A5919 #8A8926 #BAB933 #D1D159 #DFDE89
Accessibility & contrast
On white
2.08
#BAB933 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#BAB933 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB933
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB933 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB933 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B119
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#C7AD9F
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #bab933; /* rgb */ color: rgb(186, 185, 51); /* oklch */ color: oklch(76.3% 0.149 109.0);
Tailwind
colors: {
custom: {
50: '#d2cd74',
500: '#bab933',
950: '#000000',
},
}SCSS
$custom: #bab933; $custom-light: #d2cd74; $custom-dark: #000000;
JSON
{
"hex": "#bab933",
"rgb": {
"r": 186,
"g": 185,
"b": 51
},
"hsl": {
"h": 59.556,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.76321,
"c": 0.14898,
"h": 109
},
"luminance": 0.45376
}Semantic roles & 50–950 ramp
primary
#BAB933
secondary
#8081C9
accent
#49E048
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B