#BACA52#BACA52

#BACA52 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.145 H 116.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#BACA52
RGBrgb(186, 202, 82)
HSLhsl(68, 53%, 56%)
HSVhsv(68, 59%, 79%)
CMYKcmyk(7.9%, 0%, 59.4%, 20.8%)
CIE-LABlab(78.05, -21.85, 56.59)
CIE-LCHlch(78.05, 60.66, 111.11°)
OKLaboklab(80.32% -0.064 0.1303)
OKLCHoklch(80.32% 0.145 116.2)
XYZxyz(42.8941, 53.2899, 16.0073)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACA52 #6252CA
analogous
#CA9E52 #BACA52 #7ECA52
triadic
#BACA52 #52BACA #CA52BA
tetradic
#BACA52 #52CA9E #6252CA #CA527E
square
#BACA52 #52CA9E #6252CA #CA527E
split-complementary
#BACA52 #527ECA #9E52CA
monochromatic
#707C26 #9BAB34 #BACA52 #CDD881 #DFE7B0

Accessibility & contrast

On white

1.80
#BACA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#BACA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACA52
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACA52#FFFFFF#000000##000000
##BACA521.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#C5BFB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #baca52;
/* rgb */ color: rgb(186, 202, 82);
/* oklch */ color: oklch(80.3% 0.145 116.2);
Tailwind
colors: {
  custom: {
    50: '#d1da87',
    500: '#baca52',
    950: '#000000',
  },
}
SCSS
$custom: #baca52;
$custom-light: #d1da87;
$custom-dark: #000000;
JSON
{
  "hex": "#baca52",
  "rgb": {
    "r": 186,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 68,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8032,
    "c": 0.14519,
    "h": 116.2
  },
  "luminance": 0.53289
}

Semantic roles & 50–950 ramp

primary
#BACA52
secondary
#463C84
accent
#4BDD5F
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #BACA52

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

Preview Lab → · Contrast checker → · Palette generator →

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