#BACE51#BACE51
#BACE51 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.2% C 0.151 H 117.6°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BACE51 |
|---|---|
| RGB | rgb(186, 206, 81) |
| HSL | hsl(70, 56%, 56%) |
| HSV | hsv(70, 61%, 81%) |
| CMYK | cmyk(9.7%, 0%, 60.7%, 19.2%) |
| CIE-LAB | lab(79.14, -23.87, 58.22) |
| CIE-LCH | lch(79.14, 62.93, 112.30°) |
| OKLab | oklab(81.2% -0.0698 0.1337) |
| OKLCH | oklch(81.2% 0.151 117.6) |
| XYZ | xyz(43.8070, 55.1762, 16.1253) |
| Luminance | 0.5518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.78
Pea
#A4BF20
ΔE00 5.20
Greenish Beige
#C9D179
ΔE00 5.45
Baby Puke Green
#B6C406
ΔE00 5.55
Bile
#B5C306
ΔE00 5.61
Gross Green
#A0BF16
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACE51 #6551CE
analogous
#CEA451 #BACE51 #7CCE51
triadic
#BACE51 #51BACE #CE51BA
tetradic
#BACE51 #51CEA4 #6551CE #CE517C
square
#BACE51 #51CEA4 #6551CE #CE517C
split-complementary
#BACE51 #517CCE #A451CE
monochromatic
#728024 #9CB032 #BACE51 #CDDB81 #E0E9B1
Accessibility & contrast
On white
1.74
#BACE51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#BACE51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACE51
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACE51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACE51 | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#C4C3B4
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #bace51; /* rgb */ color: rgb(186, 206, 81); /* oklch */ color: oklch(81.2% 0.151 117.6);
Tailwind
colors: {
custom: {
50: '#d1dc87',
500: '#bace51',
950: '#000000',
},
}SCSS
$custom: #bace51; $custom-light: #d1dc87; $custom-dark: #000000;
JSON
{
"hex": "#bace51",
"rgb": {
"r": 186,
"g": 206,
"b": 81
},
"hsl": {
"h": 69.6,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.81197,
"c": 0.15078,
"h": 117.6
},
"luminance": 0.55176
}Semantic roles & 50–950 ramp
primary
#BACE51
secondary
#483B88
accent
#48DF61
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F