#BACE52#BACE52

#BACE52 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.2% C 0.150 H 117.6°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#BACE52
RGBrgb(186, 206, 82)
HSLhsl(70, 56%, 56%)
HSVhsv(70, 60%, 81%)
CMYKcmyk(9.7%, 0%, 60.2%, 19.2%)
CIE-LABlab(79.15, -23.80, 57.81)
CIE-LCHlch(79.15, 62.51, 112.38°)
OKLaboklab(81.21% -0.0695 0.1329)
OKLCHoklch(81.21% 0.15 117.6)
XYZxyz(43.8448, 55.1913, 16.3242)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACE52 #6652CE
analogous
#CEA452 #BACE52 #7CCE52
triadic
#BACE52 #52BACE #CE52BA
tetradic
#BACE52 #52CEA4 #6652CE #CE527C
square
#BACE52 #52CEA4 #6652CE #CE527C
split-complementary
#BACE52 #527CCE #A452CE
monochromatic
#728125 #9CB132 #BACE52 #CDDC82 #E0E9B1

Accessibility & contrast

On white

1.74
#BACE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#BACE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACE52
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACE52#FFFFFF#000000##000000
##BACE521.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)
#DBC444
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#C4C3B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bace52;
/* rgb */ color: rgb(186, 206, 82);
/* oklch */ color: oklch(81.2% 0.150 117.6);
Tailwind
colors: {
  custom: {
    50: '#d1dc88',
    500: '#bace52',
    950: '#000000',
  },
}
SCSS
$custom: #bace52;
$custom-light: #d1dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#bace52",
  "rgb": {
    "r": 186,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 69.677,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81207,
    "c": 0.14997,
    "h": 117.6
  },
  "luminance": 0.55191
}

Semantic roles & 50–950 ramp

primary
#BACE52
secondary
#483C88
accent
#49DF61
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BACE52

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

Preview Lab → · Contrast checker → · Palette generator →

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