#BAB932#BAB932
#BAB932 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.150 H 109.0°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB932 |
|---|---|
| RGB | rgb(186, 185, 50) |
| HSL | hsl(60, 58%, 46%) |
| HSV | hsv(60, 73%, 73%) |
| CMYK | cmyk(0%, 0.5%, 73.1%, 27.1%) |
| CIE-LAB | lab(73.13, -15.29, 64.16) |
| CIE-LCH | lch(73.13, 65.96, 103.40°) |
| OKLab | oklab(76.32% -0.0488 0.1414) |
| OKLCH | oklch(76.32% 0.15 109) |
| XYZ | xyz(38.1758, 45.3685, 9.7630) |
| Luminance | 0.4537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.06
Olive Yellow
#C2B709
ΔE00 3.60
Snot
#ACBB0D
ΔE00 3.86
Vomit Yellow
#C7C10C
ΔE00 3.92
Mustard Green
#A8B504
ΔE00 3.92
Bile
#B5C306
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB932 #3233BA
analogous
#BA7532 #BAB932 #77BA32
triadic
#BAB932 #32BAB9 #B932BA
tetradic
#BAB932 #32BA75 #3233BA #BA3277
square
#BAB932 #32BA75 #3233BA #BA3277
split-complementary
#BAB932 #3277BA #7532BA
monochromatic
#5A5918 #8A8925 #BAB932 #D2D157 #DFDE88
Accessibility & contrast
On white
2.08
#BAB932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#BAB932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB932
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB932 | 1.00 | 2.08 | 10.07 | 10.07 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B117
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#C7AD9F
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #bab932; /* rgb */ color: rgb(186, 185, 50); /* oklch */ color: oklch(76.3% 0.150 109.0);
Tailwind
colors: {
custom: {
50: '#d2cd74',
500: '#bab932',
950: '#000000',
},
}SCSS
$custom: #bab932; $custom-light: #d2cd74; $custom-dark: #000000;
JSON
{
"hex": "#bab932",
"rgb": {
"r": 186,
"g": 185,
"b": 50
},
"hsl": {
"h": 59.559,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.76315,
"c": 0.14957,
"h": 109
},
"luminance": 0.45367
}Semantic roles & 50–950 ramp
primary
#BAB932
secondary
#7F80C9
accent
#48E147
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B