#BAC22D#BAC22D

#BAC22D is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.161 H 112.8°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#BAC22D
RGBrgb(186, 194, 45)
HSLhsl(63, 62%, 47%)
HSVhsv(63, 77%, 76%)
CMYKcmyk(4.1%, 0%, 76.8%, 23.9%)
CIE-LABlab(75.58, -20.01, 68.05)
CIE-LCHlch(75.58, 70.93, 106.39°)
OKLaboklab(78.27% -0.0624 0.1487)
OKLCHoklch(78.27% 0.161 112.8)
XYZxyz(40.0165, 49.2131, 9.8732)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC22D #352DC2
analogous
#C27F2D #BAC22D #70C22D
triadic
#BAC22D #2DBAC2 #C22DBA
tetradic
#BAC22D #2DC27F #352DC2 #C22D70
square
#BAC22D #2DC27F #352DC2 #C22D70
split-complementary
#BAC22D #2D70C2 #7F2DC2
monochromatic
#5B5F16 #8A9021 #BAC22D #D0D755 #DEE386

Accessibility & contrast

On white

1.94
#BAC22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#BAC22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC22D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC22D#FFFFFF#000000##000000
##BAC22D1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D1BC3A
Tritanopia (blue-blind)
#C7B6A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac22d;
/* rgb */ color: rgb(186, 194, 45);
/* oklch */ color: oklch(78.3% 0.161 112.8);
Tailwind
colors: {
  custom: {
    50: '#d3d473',
    500: '#bac22d',
    950: '#000000',
  },
}
SCSS
$custom: #bac22d;
$custom-light: #d3d473;
$custom-dark: #000000;
JSON
{
  "hex": "#bac22d",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 63.221,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78266,
    "c": 0.16129,
    "h": 112.8
  },
  "luminance": 0.49212
}

Semantic roles & 50–950 ramp

primary
#BAC22D
secondary
#827ECD
accent
#42E54B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC22D

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

Preview Lab → · Contrast checker → · Palette generator →

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