#BACC45#BACC45
#BACC45 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.158 H 116.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BACC45 |
|---|---|
| RGB | rgb(186, 204, 69) |
| HSL | hsl(68, 57%, 54%) |
| HSV | hsv(68, 66%, 80%) |
| CMYK | cmyk(8.8%, 0%, 66.2%, 20%) |
| CIE-LAB | lab(78.49, -23.71, 62.45) |
| CIE-LCH | lch(78.49, 66.80, 110.79°) |
| OKLab | oklab(80.65% -0.0705 0.1409) |
| OKLCH | oklch(80.65% 0.158 116.6) |
| XYZ | xyz(42.9177, 54.0551, 13.8019) |
| Luminance | 0.5405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.63
Baby Puke Green
#B6C406
ΔE00 4.16
Bile
#B5C306
ΔE00 4.23
Pea
#A4BF20
ΔE00 4.43
Gross Green
#A0BF16
ΔE00 5.00
Snot
#ACBB0D
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACC45 #5745CC
analogous
#CC9A45 #BACC45 #76CC45
triadic
#BACC45 #45BACC #CC45BA
tetradic
#BACC45 #45CC9A #5745CC #CC4576
square
#BACC45 #45CC9A #5745CC #CC4576
split-complementary
#BACC45 #4576CC #9A45CC
monochromatic
#6B7620 #96A62E #BACC45 #CCD975 #DEE6A5
Accessibility & contrast
On white
1.78
#BACC45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#BACC45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACC45
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACC45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACC45 | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#C5C1B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #bacc45; /* rgb */ color: rgb(186, 204, 69); /* oklch */ color: oklch(80.6% 0.158 116.6);
Tailwind
colors: {
custom: {
50: '#d2db80',
500: '#bacc45',
950: '#000000',
},
}SCSS
$custom: #bacc45; $custom-light: #d2db80; $custom-dark: #000000;
JSON
{
"hex": "#bacc45",
"rgb": {
"r": 186,
"g": 204,
"b": 69
},
"hsl": {
"h": 68,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.80646,
"c": 0.15758,
"h": 116.6
},
"luminance": 0.54055
}Semantic roles & 50–950 ramp
primary
#BACC45
secondary
#40367F
accent
#48E05C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E