#BAC472#BAC472

#BAC472 is a light, moderate yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.106 H 114.5°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#BAC472
RGBrgb(186, 196, 114)
HSLhsl(67, 41%, 61%)
HSVhsv(67, 42%, 77%)
CMYKcmyk(5.1%, 0%, 41.8%, 23.1%)
CIE-LABlab(76.76, -15.91, 39.93)
CIE-LCHlch(76.76, 42.98, 111.73°)
OKLaboklab(79.41% -0.0442 0.0968)
OKLCHoklch(79.41% 0.106 114.5)
XYZxyz(43.0273, 51.1344, 23.5196)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC472 #7C72C4
analogous
#C4A572 #BAC472 #91C472
triadic
#BAC472 #72BAC4 #C472BA
tetradic
#BAC472 #72C4A5 #7C72C4 #C47291
square
#BAC472 #72C4A5 #7C72C4 #C47291
split-complementary
#BAC472 #7291C4 #A572C4
monochromatic
#7B8437 #A3AF49 #BAC472 #CFD69D #E4E8C8

Accessibility & contrast

On white

1.87
#BAC472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#BAC472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC472
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC472#FFFFFF#000000##000000
##BAC4721.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6C
Deuteranopia (green-blind)
#CEBE76
Tritanopia (blue-blind)
#C3BCB0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac472;
/* rgb */ color: rgb(186, 196, 114);
/* oklch */ color: oklch(79.4% 0.106 114.5);
Tailwind
colors: {
  custom: {
    50: '#d0d59c',
    500: '#bac472',
    950: '#000000',
  },
}
SCSS
$custom: #bac472;
$custom-light: #d0d59c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac472",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 114
  },
  "hsl": {
    "h": 67.317,
    "s": 41,
    "l": 60.784
  },
  "oklch": {
    "l": 0.79409,
    "c": 0.10641,
    "h": 114.5
  },
  "luminance": 0.51134
}

Semantic roles & 50–950 ramp

primary
#BAC472
secondary
#554E8C
accent
#31B441
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BAC472

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

Preview Lab → · Contrast checker → · Palette generator →

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