#BACC52#BACC52

#BACC52 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.148 H 116.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#BACC52
RGBrgb(186, 204, 82)
HSLhsl(69, 54%, 56%)
HSVhsv(69, 60%, 80%)
CMYKcmyk(8.8%, 0%, 59.8%, 20%)
CIE-LABlab(78.60, -22.83, 57.20)
CIE-LCHlch(78.60, 61.59, 111.76°)
OKLaboklab(80.76% -0.0668 0.1316)
OKLCHoklch(80.76% 0.148 116.9)
XYZxyz(43.3664, 54.2345, 16.1648)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC52 #6452CC
analogous
#CCA152 #BACC52 #7DCC52
triadic
#BACC52 #52BACC #CC52BA
tetradic
#BACC52 #52CCA1 #6452CC #CC527D
square
#BACC52 #52CCA1 #6452CC #CC527D
split-complementary
#BACC52 #527DCC #A152CC
monochromatic
#717E25 #9CAE33 #BACC52 #CDDA81 #E0E8B1

Accessibility & contrast

On white

1.77
#BACC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#BACC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC52
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC52#FFFFFF#000000##000000
##BACC521.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#C4C1B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc52;
/* rgb */ color: rgb(186, 204, 82);
/* oklch */ color: oklch(80.8% 0.148 116.9);
Tailwind
colors: {
  custom: {
    50: '#d1db87',
    500: '#bacc52',
    950: '#000000',
  },
}
SCSS
$custom: #bacc52;
$custom-light: #d1db87;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc52",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 68.852,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80763,
    "c": 0.14757,
    "h": 116.9
  },
  "luminance": 0.54234
}

Semantic roles & 50–950 ramp

primary
#BACC52
secondary
#473C86
accent
#4ADE60
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #BACC52

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

Preview Lab → · Contrast checker → · Palette generator →

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