#BAC548#BAC548
#BAC548 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.1% C 0.147 H 114.1°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC548 |
|---|---|
| RGB | rgb(186, 197, 72) |
| HSL | hsl(65, 52%, 53%) |
| HSV | hsv(65, 63%, 77%) |
| CMYK | cmyk(5.6%, 0%, 63.5%, 22.7%) |
| CIE-LAB | lab(76.58, -20.09, 59.25) |
| CIE-LCH | lch(76.58, 62.56, 108.73°) |
| OKLab | oklab(79.12% -0.0601 0.1346) |
| OKLCH | oklch(79.12% 0.147 114.1) |
| XYZ | xyz(41.3867, 50.8402, 13.7626) |
| Luminance | 0.5084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 4.09
Baby Puke Green
#B6C406
ΔE00 4.11
Snot
#ACBB0D
ΔE00 4.43
Pea
#A4BF20
ΔE00 4.47
Green Yellow
#B5CE08
ΔE00 5.00
Gross Green
#A0BF16
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC548 #5348C5
analogous
#C59148 #BAC548 #7BC548
triadic
#BAC548 #48BAC5 #C548BA
tetradic
#BAC548 #48C591 #5348C5 #C5487B
square
#BAC548 #48C591 #5348C5 #C5487B
split-complementary
#BAC548 #487BC5 #9148C5
monochromatic
#696F23 #949E32 #BAC548 #CCD476 #DDE2A5
Accessibility & contrast
On white
1.88
#BAC548 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.17
#BAC548 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC548
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC548 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC548 | 1.00 | 1.88 | 11.17 | 11.17 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#C6BAAB
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac548; /* rgb */ color: rgb(186, 197, 72); /* oklch */ color: oklch(79.1% 0.147 114.1);
Tailwind
colors: {
custom: {
50: '#d2d681',
500: '#bac548',
950: '#000000',
},
}SCSS
$custom: #bac548; $custom-light: #d2d681; $custom-dark: #000000;
JSON
{
"hex": "#bac548",
"rgb": {
"r": 186,
"g": 197,
"b": 72
},
"hsl": {
"h": 65.28,
"s": 51.867,
"l": 52.745
},
"oklch": {
"l": 0.7912,
"c": 0.14742,
"h": 114.1
},
"luminance": 0.50839
}Semantic roles & 50–950 ramp
primary
#BAC548
secondary
#3E3879
accent
#4CDB59
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E