#BACA42#BACA42

#BACA42 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.2% C 0.157 H 115.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#BACA42
RGBrgb(186, 202, 66)
HSLhsl(67, 56%, 53%)
HSVhsv(67, 67%, 79%)
CMYKcmyk(7.9%, 0%, 67.3%, 20.8%)
CIE-LABlab(77.92, -22.92, 63.03)
CIE-LCHlch(77.92, 67.06, 109.98°)
OKLaboklab(80.18% -0.0686 0.1417)
OKLCHoklch(80.18% 0.157 115.8)
XYZxyz(42.3546, 53.0741, 13.1663)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACA42 #5242CA
analogous
#CA9642 #BACA42 #76CA42
triadic
#BACA42 #42BACA #CA42BA
tetradic
#BACA42 #42CA96 #5242CA #CA4276
square
#BACA42 #42CA96 #5242CA #CA4276
split-complementary
#BACA42 #4276CA #9642CA
monochromatic
#687220 #94A22D #BACA42 #CBD772 #DDE5A2

Accessibility & contrast

On white

1.81
#BACA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#BACA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACA42
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACA42#FFFFFF#000000##000000
##BACA421.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02E
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#C5BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #baca42;
/* rgb */ color: rgb(186, 202, 66);
/* oklch */ color: oklch(80.2% 0.157 115.8);
Tailwind
colors: {
  custom: {
    50: '#d2da7e',
    500: '#baca42',
    950: '#000000',
  },
}
SCSS
$custom: #baca42;
$custom-light: #d2da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#baca42",
  "rgb": {
    "r": 186,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 67.059,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80177,
    "c": 0.15741,
    "h": 115.8
  },
  "luminance": 0.53074
}

Semantic roles & 50–950 ramp

primary
#BACA42
secondary
#3E357B
accent
#48DF5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACA42

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

Preview Lab → · Contrast checker → · Palette generator →

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