#BAB630#BAB630
#BAB630 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.148 H 107.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB630 |
|---|---|
| RGB | rgb(186, 182, 48) |
| HSL | hsl(58, 59%, 46%) |
| HSV | hsv(58, 74%, 73%) |
| CMYK | cmyk(0%, 2.2%, 74.2%, 27.1%) |
| CIE-LAB | lab(72.30, -13.85, 64.06) |
| CIE-LCH | lch(72.30, 65.54, 102.20°) |
| OKLab | oklab(75.65% -0.045 0.1408) |
| OKLCH | oklch(75.65% 0.148 107.7) |
| XYZ | xyz(37.5126, 44.1097, 9.3337) |
| Luminance | 0.4411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.11
Puke Yellow
#C2BE0E
ΔE00 3.27
Vomit Yellow
#C7C10C
ΔE00 4.13
Mustard Green
#A8B504
ΔE00 4.31
Snot
#ACBB0D
ΔE00 4.56
Muddy Yellow
#BFAC05
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB630 #3034BA
analogous
#BA7130 #BAB630 #79BA30
triadic
#BAB630 #30BAB6 #B630BA
tetradic
#BAB630 #30BA71 #3034BA #BA3079
square
#BAB630 #30BA71 #3034BA #BA3079
split-complementary
#BAB630 #3079BA #7130BA
monochromatic
#595717 #898623 #BAB630 #D3CF54 #DFDD85
Accessibility & contrast
On white
2.14
#BAB630 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#BAB630 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB630
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB630 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB630 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF13
Deuteranopia (green-blind)
#C8B33A
Tritanopia (blue-blind)
#C8AA9C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bab630; /* rgb */ color: rgb(186, 182, 48); /* oklch */ color: oklch(75.6% 0.148 107.7);
Tailwind
colors: {
custom: {
50: '#d2cb73',
500: '#bab630',
950: '#000000',
},
}SCSS
$custom: #bab630; $custom-light: #d2cb73; $custom-dark: #000000;
JSON
{
"hex": "#bab630",
"rgb": {
"r": 186,
"g": 182,
"b": 48
},
"hsl": {
"h": 58.261,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.75647,
"c": 0.1478,
"h": 107.7
},
"luminance": 0.44108
}Semantic roles & 50–950 ramp
primary
#BAB630
secondary
#7D7FC9
accent
#4AE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B