#BAC452#BAC452

#BAC452 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.0% C 0.138 H 113.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#BAC452
RGBrgb(186, 196, 82)
HSLhsl(65, 49%, 55%)
HSVhsv(65, 58%, 77%)
CMYKcmyk(5.1%, 0%, 58.2%, 23.1%)
CIE-LABlab(76.39, -18.88, 54.76)
CIE-LCHlch(76.39, 57.93, 109.02°)
OKLaboklab(79% -0.0557 0.1264)
OKLCHoklch(79% 0.138 113.8)
XYZxyz(41.5135, 50.5289, 15.5472)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC452 #5C52C4
analogous
#C49552 #BAC452 #81C452
triadic
#BAC452 #52BAC4 #C452BA
tetradic
#BAC452 #52C495 #5C52C4 #C45281
square
#BAC452 #52C495 #5C52C4 #C45281
split-complementary
#BAC452 #5281C4 #9552C4
monochromatic
#6D7428 #98A237 #BAC452 #CCD480 #DEE3AD

Accessibility & contrast

On white

1.89
#BAC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#BAC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC452
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC452#FFFFFF#000000##000000
##BAC4521.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#C5B9AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac452;
/* rgb */ color: rgb(186, 196, 82);
/* oklch */ color: oklch(79.0% 0.138 113.8);
Tailwind
colors: {
  custom: {
    50: '#d1d587',
    500: '#bac452',
    950: '#000000',
  },
}
SCSS
$custom: #bac452;
$custom-light: #d1d587;
$custom-dark: #000000;
JSON
{
  "hex": "#bac452",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 65.263,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78996,
    "c": 0.13814,
    "h": 113.8
  },
  "luminance": 0.50528
}

Semantic roles & 50–950 ramp

primary
#BAC452
secondary
#433D7D
accent
#4FD95B
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC452

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

Preview Lab → · Contrast checker → · Palette generator →

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