#BAC552#BAC552

#BAC552 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.139 H 114.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#BAC552
RGBrgb(186, 197, 82)
HSLhsl(66, 50%, 55%)
HSVhsv(66, 58%, 77%)
CMYKcmyk(5.6%, 0%, 58.4%, 22.7%)
CIE-LABlab(76.67, -19.38, 55.07)
CIE-LCHlch(76.67, 58.38, 109.39°)
OKLaboklab(79.22% -0.0571 0.1271)
OKLCHoklch(79.22% 0.139 114.2)
XYZxyz(41.7399, 50.9815, 15.6226)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC552 #5D52C5
analogous
#C59752 #BAC552 #81C552
triadic
#BAC552 #52BAC5 #C552BA
tetradic
#BAC552 #52C597 #5D52C5 #C55281
square
#BAC552 #52C597 #5D52C5 #C55281
split-complementary
#BAC552 #5281C5 #9752C5
monochromatic
#6E7527 #99A337 #BAC552 #CCD480 #DFE4AE

Accessibility & contrast

On white

1.88
#BAC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#BAC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC552
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC552#FFFFFF#000000##000000
##BAC5521.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac552;
/* rgb */ color: rgb(186, 197, 82);
/* oklch */ color: oklch(79.2% 0.139 114.2);
Tailwind
colors: {
  custom: {
    50: '#d1d687',
    500: '#bac552',
    950: '#000000',
  },
}
SCSS
$custom: #bac552;
$custom-light: #d1d687;
$custom-dark: #000000;
JSON
{
  "hex": "#bac552",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 65.739,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79216,
    "c": 0.1393,
    "h": 114.2
  },
  "luminance": 0.50981
}

Semantic roles & 50–950 ramp

primary
#BAC552
secondary
#433D7E
accent
#4ED95C
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC552

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

Preview Lab → · Contrast checker → · Palette generator →

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