#BAC652#BAC652

#BAC652 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.4% C 0.140 H 114.6°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#BAC652
RGBrgb(186, 198, 82)
HSLhsl(66, 50%, 55%)
HSVhsv(66, 59%, 78%)
CMYKcmyk(6.1%, 0%, 58.6%, 22.4%)
CIE-LABlab(76.94, -19.88, 55.37)
CIE-LCHlch(76.94, 58.83, 109.75°)
OKLaboklab(79.44% -0.0585 0.1277)
OKLCHoklch(79.44% 0.14 114.6)
XYZxyz(41.9677, 51.4371, 15.6986)
Luminance0.5144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC652 #5E52C6
analogous
#C69852 #BAC652 #80C652
triadic
#BAC652 #52BAC6 #C652BA
tetradic
#BAC652 #52C698 #5E52C6 #C65280
square
#BAC652 #52C698 #5E52C6 #C65280
split-complementary
#BAC652 #5280C6 #9852C6
monochromatic
#6E7727 #99A536 #BAC652 #CCD580 #DFE4AE

Accessibility & contrast

On white

1.86
#BAC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#BAC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC652
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC652#FFFFFF#000000##000000
##BAC6521.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D2BF59
Tritanopia (blue-blind)
#C5BBAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac652;
/* rgb */ color: rgb(186, 198, 82);
/* oklch */ color: oklch(79.4% 0.140 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d787',
    500: '#bac652',
    950: '#000000',
  },
}
SCSS
$custom: #bac652;
$custom-light: #d1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#bac652",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 66.207,
    "s": 50.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79437,
    "c": 0.14047,
    "h": 114.6
  },
  "luminance": 0.51436
}

Semantic roles & 50–950 ramp

primary
#BAC652
secondary
#443D7F
accent
#4EDA5C
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC652

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

Preview Lab → · Contrast checker → · Palette generator →

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