#BAC248#BAC248
#BAC248 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.144 H 112.8°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC248 |
|---|---|
| RGB | rgb(186, 194, 72) |
| HSL | hsl(64, 50%, 52%) |
| HSV | hsv(64, 63%, 76%) |
| CMYK | cmyk(4.1%, 0%, 62.9%, 23.9%) |
| CIE-LAB | lab(75.76, -18.59, 58.38) |
| CIE-LCH | lch(75.76, 61.27, 107.67°) |
| OKLab | oklab(78.46% -0.0559 0.1328) |
| OKLCH | oklch(78.46% 0.144 112.8) |
| XYZ | xyz(40.7123, 49.4914, 13.5378) |
| Luminance | 0.4949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 4.26
Snot
#ACBB0D
ΔE00 4.30
Baby Puke Green
#B6C406
ΔE00 4.31
Pea
#A4BF20
ΔE00 4.76
Mustard Green
#A8B504
ΔE00 5.18
Puke Yellow
#C2BE0E
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC248 #5048C2
analogous
#C28D48 #BAC248 #7DC248
triadic
#BAC248 #48BAC2 #C248BA
tetradic
#BAC248 #48C28D #5048C2 #C2487D
square
#BAC248 #48C28D #5048C2 #C2487D
split-complementary
#BAC248 #487DC2 #8D48C2
monochromatic
#676C24 #939A33 #BAC248 #CBD176 #DDE1A4
Accessibility & contrast
On white
1.93
#BAC248 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.90
#BAC248 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC248
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC248 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC248 | 1.00 | 1.93 | 10.90 | 10.90 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#C6B7A9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #bac248; /* rgb */ color: rgb(186, 194, 72); /* oklch */ color: oklch(78.5% 0.144 112.8);
Tailwind
colors: {
custom: {
50: '#d2d481',
500: '#bac248',
950: '#000000',
},
}SCSS
$custom: #bac248; $custom-light: #d2d481; $custom-dark: #000000;
JSON
{
"hex": "#bac248",
"rgb": {
"r": 186,
"g": 194,
"b": 72
},
"hsl": {
"h": 63.934,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.78459,
"c": 0.14405,
"h": 112.8
},
"luminance": 0.49491
}Semantic roles & 50–950 ramp
primary
#BAC248
secondary
#9C98CE
accent
#4EDA57
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C