#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
RGBrgb(186, 206, 81)
HSLhsl(70, 56%, 56%)
HSVhsv(70, 61%, 81%)
CMYKcmyk(9.7%, 0%, 60.7%, 19.2%)
CIE-LABlab(79.14, -23.87, 58.22)
CIE-LCHlch(79.14, 62.93, 112.30°)
OKLaboklab(81.2% -0.0698 0.1337)
OKLCHoklch(81.2% 0.151 117.6)
XYZxyz(43.8070, 55.1762, 16.1253)
Luminance0.5518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##BACE511.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.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

Preview Lab

Preview with #BACE51

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BACE51 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva