#BAC529#BAC529
#BAC529 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.9% C 0.166 H 113.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC529 |
|---|---|
| RGB | rgb(186, 197, 41) |
| HSL | hsl(64, 66%, 47%) |
| HSV | hsv(64, 79%, 77%) |
| CMYK | cmyk(5.6%, 0%, 79.2%, 22.7%) |
| CIE-LAB | lab(76.39, -21.64, 69.94) |
| CIE-LCH | lch(76.39, 73.21, 107.19°) |
| OKLab | oklab(78.91% -0.0672 0.1521) |
| OKLCH | oklch(78.91% 0.166 113.8) |
| XYZ | xyz(40.6175, 50.5326, 9.7115) |
| Luminance | 0.5053 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.44
Bile
#B5C306
ΔE00 1.49
Snot
#ACBB0D
ΔE00 3.00
Green Yellow
#B5CE08
ΔE00 3.35
Puke Yellow
#C2BE0E
ΔE00 4.02
Pea
#A4BF20
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC529 #3429C5
analogous
#C58229 #BAC529 #6CC529
triadic
#BAC529 #29BAC5 #C529BA
tetradic
#BAC529 #29C582 #3429C5 #C5296C
square
#BAC529 #29C582 #3429C5 #C5296C
split-complementary
#BAC529 #296CC5 #8229C5
monochromatic
#5A6014 #8A921E #BAC529 #D1DB51 #DEE583
Accessibility & contrast
On white
1.89
#BAC529 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.11
#BAC529 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC529
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC529 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC529 | 1.00 | 1.89 | 11.11 | 11.11 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#C7B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bac529; /* rgb */ color: rgb(186, 197, 41); /* oklch */ color: oklch(78.9% 0.166 113.8);
Tailwind
colors: {
custom: {
50: '#d3d671',
500: '#bac529',
950: '#000000',
},
}SCSS
$custom: #bac529; $custom-light: #d3d671; $custom-dark: #000000;
JSON
{
"hex": "#bac529",
"rgb": {
"r": 186,
"g": 197,
"b": 41
},
"hsl": {
"h": 64.231,
"s": 65.546,
"l": 46.667
},
"oklch": {
"l": 0.7891,
"c": 0.16626,
"h": 113.8
},
"luminance": 0.50532
}Semantic roles & 50–950 ramp
primary
#BAC529
secondary
#2C286B
accent
#3FE84B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D