#BAB430#BAB430
#BAB430 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.146 H 106.8°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB430 |
|---|---|
| RGB | rgb(186, 180, 48) |
| HSL | hsl(57, 59%, 46%) |
| HSV | hsv(57, 74%, 73%) |
| CMYK | cmyk(0%, 3.2%, 74.2%, 27.1%) |
| CIE-LAB | lab(71.76, -12.83, 63.55) |
| CIE-LCH | lch(71.76, 64.83, 101.41°) |
| OKLab | oklab(75.21% -0.0421 0.1397) |
| OKLCH | oklch(75.21% 0.146 106.8) |
| XYZ | xyz(37.1060, 43.2963, 9.1982) |
| Luminance | 0.4330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.03
Puke Yellow
#C2BE0E
ΔE00 3.66
Muddy Yellow
#BFAC05
ΔE00 4.38
Vomit Yellow
#C7C10C
ΔE00 4.48
Mustard Green
#A8B504
ΔE00 4.72
Puke
#A5A502
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB430 #3036BA
analogous
#BA6F30 #BAB430 #7BBA30
triadic
#BAB430 #30BAB4 #B430BA
tetradic
#BAB430 #30BA6F #3036BA #BA307B
square
#BAB430 #30BA6F #3036BA #BA307B
split-complementary
#BAB430 #307BBA #6F30BA
monochromatic
#595617 #898523 #BAB430 #D3CD54 #DFDC85
Accessibility & contrast
On white
2.17
#BAB430 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#BAB430 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB430
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB430 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB430 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bab430; /* rgb */ color: rgb(186, 180, 48); /* oklch */ color: oklch(75.2% 0.146 106.8);
Tailwind
colors: {
custom: {
50: '#d2ca72',
500: '#bab430',
950: '#000000',
},
}SCSS
$custom: #bab430; $custom-light: #d2ca72; $custom-dark: #000000;
JSON
{
"hex": "#bab430",
"rgb": {
"r": 186,
"g": 180,
"b": 48
},
"hsl": {
"h": 57.391,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.75212,
"c": 0.14592,
"h": 106.8
},
"luminance": 0.43295
}Semantic roles & 50–950 ramp
primary
#BAB430
secondary
#7D80C9
accent
#4CE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B