#BAC474#BAC474

#BAC474 is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.4% C 0.104 H 114.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#BAC474
RGBrgb(186, 196, 116)
HSLhsl(68, 40%, 61%)
HSVhsv(68, 41%, 77%)
CMYKcmyk(5.1%, 0%, 40.8%, 23.1%)
CIE-LABlab(76.79, -15.69, 38.96)
CIE-LCHlch(76.79, 42.00, 111.94°)
OKLaboklab(79.44% -0.0434 0.0947)
OKLCHoklch(79.44% 0.104 114.6)
XYZxyz(43.1424, 51.1804, 24.1257)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC474 #7E74C4
analogous
#C4A674 #BAC474 #92C474
triadic
#BAC474 #74BAC4 #C474BA
tetradic
#BAC474 #74C4A6 #7E74C4 #C47492
square
#BAC474 #74C4A6 #7E74C4 #C47492
split-complementary
#BAC474 #7492C4 #A674C4
monochromatic
#7C8538 #A3B04B #BAC474 #CFD69F #E5E8CA

Accessibility & contrast

On white

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

On black

11.24
#BAC474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC474
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC474#FFFFFF#000000##000000
##BAC4741.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD6E
Deuteranopia (green-blind)
#CEBE78
Tritanopia (blue-blind)
#C3BCB1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac474;
/* rgb */ color: rgb(186, 196, 116);
/* oklch */ color: oklch(79.4% 0.104 114.6);
Tailwind
colors: {
  custom: {
    50: '#d0d59d',
    500: '#bac474',
    950: '#000000',
  },
}
SCSS
$custom: #bac474;
$custom-light: #d0d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac474",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 67.5,
    "s": 40.404,
    "l": 61.176
  },
  "oklch": {
    "l": 0.7944,
    "c": 0.10418,
    "h": 114.6
  },
  "luminance": 0.5118
}

Semantic roles & 50–950 ramp

primary
#BAC474
secondary
#574F8D
accent
#32B342
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BAC474

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

Preview Lab → · Contrast checker → · Palette generator →

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