#BACA40#BACA40

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

Color values

HEX#BACA40
RGBrgb(186, 202, 64)
HSLhsl(67, 57%, 52%)
HSVhsv(67, 68%, 79%)
CMYKcmyk(7.9%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.91, -23.03, 63.77)
CIE-LCHlch(77.91, 67.81, 109.86°)
OKLaboklab(80.16% -0.0691 0.1429)
OKLCHoklch(80.16% 0.159 115.8)
XYZxyz(42.2967, 53.0510, 12.8612)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACA40 #5040CA
analogous
#CA9540 #BACA40 #75CA40
triadic
#BACA40 #40BACA #CA40BA
tetradic
#BACA40 #40CA95 #5040CA #CA4075
square
#BACA40 #40CA95 #5040CA #CA4075
split-complementary
#BACA40 #4075CA #9540CA
monochromatic
#67701F #93A02C #BACA40 #CBD770 #DDE5A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACA40#FFFFFF#000000##000000
##BACA401.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)
#D8C02A
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#C6BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #baca40;
/* rgb */ color: rgb(186, 202, 64);
/* oklch */ color: oklch(80.2% 0.159 115.8);
Tailwind
colors: {
  custom: {
    50: '#d2da7d',
    500: '#baca40',
    950: '#000000',
  },
}
SCSS
$custom: #baca40;
$custom-light: #d2da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#baca40",
  "rgb": {
    "r": 186,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 66.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80162,
    "c": 0.15875,
    "h": 115.8
  },
  "luminance": 0.5305
}

Semantic roles & 50–950 ramp

primary
#BACA40
secondary
#3D357A
accent
#48E05A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACA40

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

Preview Lab → · Contrast checker → · Palette generator →

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