#BAC54D#BAC54D

#BAC54D is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.2% C 0.143 H 114.1°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#BAC54D
RGBrgb(186, 197, 77)
HSLhsl(66, 51%, 54%)
HSVhsv(66, 61%, 77%)
CMYKcmyk(5.6%, 0%, 60.9%, 22.7%)
CIE-LABlab(76.62, -19.75, 57.20)
CIE-LCHlch(76.62, 60.51, 109.05°)
OKLaboklab(79.17% -0.0586 0.131)
OKLCHoklch(79.17% 0.143 114.1)
XYZxyz(41.5565, 50.9082, 14.6569)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC54D #584DC5
analogous
#C5944D #BAC54D #7EC54D
triadic
#BAC54D #4DBAC5 #C54DBA
tetradic
#BAC54D #4DC594 #584DC5 #C54D7E
square
#BAC54D #4DC594 #584DC5 #C54D7E
split-complementary
#BAC54D #4D7EC5 #944DC5
monochromatic
#6B7225 #97A034 #BAC54D #CCD47B #DEE3A9

Accessibility & contrast

On white

1.88
#BAC54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#BAC54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC54D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC54D#FFFFFF#000000##000000
##BAC54D1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3F
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac54d;
/* rgb */ color: rgb(186, 197, 77);
/* oklch */ color: oklch(79.2% 0.143 114.1);
Tailwind
colors: {
  custom: {
    50: '#d1d684',
    500: '#bac54d',
    950: '#000000',
  },
}
SCSS
$custom: #bac54d;
$custom-light: #d1d684;
$custom-dark: #000000;
JSON
{
  "hex": "#bac54d",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 65.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79166,
    "c": 0.14348,
    "h": 114.1
  },
  "luminance": 0.50907
}

Semantic roles & 50–950 ramp

primary
#BAC54D
secondary
#413B7C
accent
#4DDA5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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