#BAB830#BAB830
#BAB830 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.150 H 108.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB830 |
|---|---|
| RGB | rgb(186, 184, 48) |
| HSL | hsl(59, 59%, 46%) |
| HSV | hsv(59, 74%, 73%) |
| CMYK | cmyk(0%, 1.1%, 74.2%, 27.1%) |
| CIE-LAB | lab(72.85, -14.87, 64.57) |
| CIE-LCH | lch(72.85, 66.26, 102.97°) |
| OKLab | oklab(76.08% -0.0478 0.1419) |
| OKLCH | oklch(76.08% 0.15 108.6) |
| XYZ | xyz(37.9251, 44.9347, 9.4712) |
| Luminance | 0.4493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.00
Olive Yellow
#C2B709
ΔE00 3.33
Vomit Yellow
#C7C10C
ΔE00 3.88
Mustard Green
#A8B504
ΔE00 3.99
Snot
#ACBB0D
ΔE00 4.04
Bile
#B5C306
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB830 #3032BA
analogous
#BA7330 #BAB830 #77BA30
triadic
#BAB830 #30BAB8 #B830BA
tetradic
#BAB830 #30BA73 #3032BA #BA3077
square
#BAB830 #30BA73 #3032BA #BA3077
split-complementary
#BAB830 #3077BA #7330BA
monochromatic
#595817 #898823 #BAB830 #D3D154 #DFDE85
Accessibility & contrast
On white
2.10
#BAB830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#BAB830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB830
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB830 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#C8AC9E
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bab830; /* rgb */ color: rgb(186, 184, 48); /* oklch */ color: oklch(76.1% 0.150 108.6);
Tailwind
colors: {
custom: {
50: '#d2cd73',
500: '#bab830',
950: '#000000',
},
}SCSS
$custom: #bab830; $custom-light: #d2cd73; $custom-dark: #000000;
JSON
{
"hex": "#bab830",
"rgb": {
"r": 186,
"g": 184,
"b": 48
},
"hsl": {
"h": 59.13,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.76084,
"c": 0.14972,
"h": 108.6
},
"luminance": 0.44933
}Semantic roles & 50–950 ramp
primary
#BAB830
secondary
#7D7EC9
accent
#48E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B