#BAB730#BAB730
#BAB730 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.149 H 108.2°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB730 |
|---|---|
| RGB | rgb(186, 183, 48) |
| HSL | hsl(59, 59%, 46%) |
| HSV | hsv(59, 74%, 73%) |
| CMYK | cmyk(0%, 1.6%, 74.2%, 27.1%) |
| CIE-LAB | lab(72.58, -14.36, 64.32) |
| CIE-LCH | lch(72.58, 65.90, 102.59°) |
| OKLab | oklab(75.87% -0.0464 0.1413) |
| OKLCH | oklch(75.87% 0.149 108.2) |
| XYZ | xyz(37.7181, 44.5207, 9.4022) |
| Luminance | 0.4452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.12
Olive Yellow
#C2B709
ΔE00 3.20
Vomit Yellow
#C7C10C
ΔE00 3.99
Mustard Green
#A8B504
ΔE00 4.13
Snot
#ACBB0D
ΔE00 4.29
Bile
#B5C306
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB730 #3033BA
analogous
#BA7230 #BAB730 #78BA30
triadic
#BAB730 #30BAB7 #B730BA
tetradic
#BAB730 #30BA72 #3033BA #BA3078
square
#BAB730 #30BA72 #3033BA #BA3078
split-complementary
#BAB730 #3078BA #7230BA
monochromatic
#595717 #898723 #BAB730 #D3D054 #DFDE85
Accessibility & contrast
On white
2.12
#BAB730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#BAB730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB730
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB730 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B013
Deuteranopia (green-blind)
#C9B43B
Tritanopia (blue-blind)
#C8AB9D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #bab730; /* rgb */ color: rgb(186, 183, 48); /* oklch */ color: oklch(75.9% 0.149 108.2);
Tailwind
colors: {
custom: {
50: '#d2cc73',
500: '#bab730',
950: '#000000',
},
}SCSS
$custom: #bab730; $custom-light: #d2cc73; $custom-dark: #000000;
JSON
{
"hex": "#bab730",
"rgb": {
"r": 186,
"g": 183,
"b": 48
},
"hsl": {
"h": 58.696,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.75865,
"c": 0.14876,
"h": 108.2
},
"luminance": 0.44519
}Semantic roles & 50–950 ramp
primary
#BAB730
secondary
#7D7FC9
accent
#49E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B