#BACC48#BACC48
#BACC48 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.7% C 0.155 H 116.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BACC48 |
|---|---|
| RGB | rgb(186, 204, 72) |
| HSL | hsl(68, 56%, 54%) |
| HSV | hsv(68, 65%, 80%) |
| CMYK | cmyk(8.8%, 0%, 64.7%, 20%) |
| CIE-LAB | lab(78.52, -23.52, 61.29) |
| CIE-LCH | lch(78.52, 65.64, 111.00°) |
| OKLab | oklab(80.67% -0.0697 0.1389) |
| OKLCH | oklch(80.67% 0.155 116.6) |
| XYZ | xyz(43.0132, 54.0932, 14.3048) |
| Luminance | 0.5409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.93
Baby Puke Green
#B6C406
ΔE00 4.43
Bile
#B5C306
ΔE00 4.50
Pea
#A4BF20
ΔE00 4.55
Gross Green
#A0BF16
ΔE00 5.12
Snot
#ACBB0D
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACC48 #5A48CC
analogous
#CC9C48 #BACC48 #78CC48
triadic
#BACC48 #48BACC #CC48BA
tetradic
#BACC48 #48CC9C #5A48CC #CC4878
square
#BACC48 #48CC9C #5A48CC #CC4878
split-complementary
#BACC48 #4878CC #9C48CC
monochromatic
#6C7821 #97A82F #BACC48 #CCD978 #DEE7A8
Accessibility & contrast
On white
1.78
#BACC48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#BACC48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACC48
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACC48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACC48 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C236
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#C5C1B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #bacc48; /* rgb */ color: rgb(186, 204, 72); /* oklch */ color: oklch(80.7% 0.155 116.6);
Tailwind
colors: {
custom: {
50: '#d2db81',
500: '#bacc48',
950: '#000000',
},
}SCSS
$custom: #bacc48; $custom-light: #d2db81; $custom-dark: #000000;
JSON
{
"hex": "#bacc48",
"rgb": {
"r": 186,
"g": 204,
"b": 72
},
"hsl": {
"h": 68.182,
"s": 56.41,
"l": 54.118
},
"oklch": {
"l": 0.80671,
"c": 0.15541,
"h": 116.6
},
"luminance": 0.54093
}Semantic roles & 50–950 ramp
primary
#BACC48
secondary
#423880
accent
#48E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E