#BAC528#BAC528
#BAC528 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.9% C 0.167 H 113.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC528 |
|---|---|
| RGB | rgb(186, 197, 40) |
| HSL | hsl(64, 66%, 46%) |
| HSV | hsv(64, 80%, 77%) |
| CMYK | cmyk(5.6%, 0%, 79.7%, 22.7%) |
| CIE-LAB | lab(76.39, -21.68, 70.21) |
| CIE-LCH | lch(76.39, 73.48, 107.16°) |
| OKLab | oklab(78.91% -0.0674 0.1525) |
| OKLCH | oklch(78.91% 0.167 113.8) |
| XYZ | xyz(40.6003, 50.5257, 9.6208) |
| Luminance | 0.5052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.38
Bile
#B5C306
ΔE00 1.43
Snot
#ACBB0D
ΔE00 2.99
Green Yellow
#B5CE08
ΔE00 3.33
Puke Yellow
#C2BE0E
ΔE00 3.99
Pea
#A4BF20
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC528 #3328C5
analogous
#C58228 #BAC528 #6CC528
triadic
#BAC528 #28BAC5 #C528BA
tetradic
#BAC528 #28C582 #3328C5 #C5286C
square
#BAC528 #28C582 #3328C5 #C5286C
split-complementary
#BAC528 #286CC5 #8228C5
monochromatic
#5A5F13 #8A921E #BAC528 #D1DB4F #DFE682
Accessibility & contrast
On white
1.89
#BAC528 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.11
#BAC528 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC528
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC528 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC528 | 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)
#D4BE37
Tritanopia (blue-blind)
#C7B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bac528; /* rgb */ color: rgb(186, 197, 40); /* oklch */ color: oklch(78.9% 0.167 113.8);
Tailwind
colors: {
custom: {
50: '#d3d671',
500: '#bac528',
950: '#000000',
},
}SCSS
$custom: #bac528; $custom-light: #d3d671; $custom-dark: #000000;
JSON
{
"hex": "#bac528",
"rgb": {
"r": 186,
"g": 197,
"b": 40
},
"hsl": {
"h": 64.204,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.78906,
"c": 0.1667,
"h": 113.8
},
"luminance": 0.50525
}Semantic roles & 50–950 ramp
primary
#BAC528
secondary
#2C276A
accent
#3FE94B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D