#BAB623#BAB623
#BAB623 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.154 H 107.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB623 |
|---|---|
| RGB | rgb(186, 182, 35) |
| HSL | hsl(58, 68%, 43%) |
| HSV | hsv(58, 81%, 73%) |
| CMYK | cmyk(0%, 2.2%, 81.2%, 27.1%) |
| CIE-LAB | lab(72.24, -14.34, 67.95) |
| CIE-LCH | lch(72.24, 69.44, 101.91°) |
| OKLab | oklab(75.58% -0.0474 0.1467) |
| OKLCH | oklch(75.58% 0.154 107.9) |
| XYZ | xyz(37.2826, 44.0177, 8.1222) |
| Luminance | 0.4402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 2.40
Puke Yellow
#C2BE0E
ΔE00 2.61
Vomit Yellow
#C7C10C
ΔE00 3.55
Mustard Green
#A8B504
ΔE00 4.11
Snot
#ACBB0D
ΔE00 4.37
Muddy Yellow
#BFAC05
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB623 #2327BA
analogous
#BA6B23 #BAB623 #72BA23
triadic
#BAB623 #23BAB6 #B623BA
tetradic
#BAB623 #23BA6B #2327BA #BA2372
square
#BAB623 #23BA6B #2327BA #BA2372
split-complementary
#BAB623 #2372BA #6B23BA
monochromatic
#535110 #868419 #BAB623 #DBD73F #E5E273
Accessibility & contrast
On white
2.14
#BAB623 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#BAB623 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB623
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB623 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C8B331
Tritanopia (blue-blind)
#C8AA9C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bab623; /* rgb */ color: rgb(186, 182, 35); /* oklch */ color: oklch(75.6% 0.154 107.9);
Tailwind
colors: {
custom: {
50: '#d3cb6d',
500: '#bab623',
950: '#000000',
},
}SCSS
$custom: #bab623; $custom-light: #d3cb6d; $custom-dark: #000000;
JSON
{
"hex": "#bab623",
"rgb": {
"r": 186,
"g": 182,
"b": 35
},
"hsl": {
"h": 58.411,
"s": 68.326,
"l": 43.333
},
"oklch": {
"l": 0.75578,
"c": 0.15417,
"h": 107.9
},
"luminance": 0.44016
}Semantic roles & 50–950 ramp
primary
#BAB623
secondary
#6D70CC
accent
#41EB3D
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B