#BAC852#BAC852

#BAC852 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.9% C 0.143 H 115.4°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#BAC852
RGBrgb(186, 200, 82)
HSLhsl(67, 52%, 55%)
HSVhsv(67, 59%, 78%)
CMYKcmyk(7%, 0%, 59%, 21.6%)
CIE-LABlab(77.49, -20.87, 55.98)
CIE-LCHlch(77.49, 59.75, 110.44°)
OKLaboklab(79.88% -0.0612 0.129)
OKLCHoklch(79.88% 0.143 115.4)
XYZxyz(42.4278, 52.3575, 15.8519)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC852 #6052C8
analogous
#C89B52 #BAC852 #7FC852
triadic
#BAC852 #52BAC8 #C852BA
tetradic
#BAC852 #52C89B #6052C8 #C8527F
square
#BAC852 #52C89B #6052C8 #C8527F
split-complementary
#BAC852 #527FC8 #9B52C8
monochromatic
#6F7927 #9AA835 #BAC852 #CDD780 #DFE6AF

Accessibility & contrast

On white

1.83
#BAC852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#BAC852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC852
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC852#FFFFFF#000000##000000
##BAC8521.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#C5BDAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac852;
/* rgb */ color: rgb(186, 200, 82);
/* oklch */ color: oklch(79.9% 0.143 115.4);
Tailwind
colors: {
  custom: {
    50: '#d1d887',
    500: '#bac852',
    950: '#000000',
  },
}
SCSS
$custom: #bac852;
$custom-light: #d1d887;
$custom-dark: #000000;
JSON
{
  "hex": "#bac852",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 67.119,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79878,
    "c": 0.14283,
    "h": 115.4
  },
  "luminance": 0.52357
}

Semantic roles & 50–950 ramp

primary
#BAC852
secondary
#453D82
accent
#4DDB5E
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC852

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

Preview Lab → · Contrast checker → · Palette generator →

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