#BAB930#BAB930
#BAB930 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.151 H 109.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB930 |
|---|---|
| RGB | rgb(186, 185, 48) |
| HSL | hsl(60, 59%, 46%) |
| HSV | hsv(60, 74%, 73%) |
| CMYK | cmyk(0%, 0.5%, 74.2%, 27.1%) |
| CIE-LAB | lab(73.12, -15.38, 64.83) |
| CIE-LCH | lch(73.12, 66.63, 103.34°) |
| OKLab | oklab(76.3% -0.0492 0.1424) |
| OKLCH | oklch(76.3% 0.151 109.1) |
| XYZ | xyz(38.1336, 45.3516, 9.5407) |
| Luminance | 0.4535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.91
Olive Yellow
#C2B709
ΔE00 3.48
Vomit Yellow
#C7C10C
ΔE00 3.79
Snot
#ACBB0D
ΔE00 3.80
Mustard Green
#A8B504
ΔE00 3.86
Bile
#B5C306
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB930 #3031BA
analogous
#BA7430 #BAB930 #76BA30
triadic
#BAB930 #30BAB9 #B930BA
tetradic
#BAB930 #30BA74 #3031BA #BA3076
square
#BAB930 #30BA74 #3031BA #BA3076
split-complementary
#BAB930 #3076BA #7430BA
monochromatic
#595817 #898923 #BAB930 #D3D254 #DFDF85
Accessibility & contrast
On white
2.09
#BAB930 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#BAB930 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB930
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB930 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB930 | 1.00 | 2.09 | 10.07 | 10.07 |
| #FFFFFF | 2.09 | 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)
#C8B112
Deuteranopia (green-blind)
#CAB63B
Tritanopia (blue-blind)
#C7AD9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab930; /* rgb */ color: rgb(186, 185, 48); /* oklch */ color: oklch(76.3% 0.151 109.1);
Tailwind
colors: {
custom: {
50: '#d2cd73',
500: '#bab930',
950: '#000000',
},
}SCSS
$custom: #bab930; $custom-light: #d2cd73; $custom-dark: #000000;
JSON
{
"hex": "#bab930",
"rgb": {
"r": 186,
"g": 185,
"b": 48
},
"hsl": {
"h": 59.565,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.76302,
"c": 0.1507,
"h": 109.1
},
"luminance": 0.4535
}Semantic roles & 50–950 ramp
primary
#BAB930
secondary
#7D7DC9
accent
#47E246
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B