#BAC479#BAC479

#BAC479 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.5% C 0.099 H 114.9°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#BAC479
RGBrgb(186, 196, 121)
HSLhsl(68, 39%, 62%)
HSVhsv(68, 38%, 77%)
CMYKcmyk(5.1%, 0%, 38.3%, 23.1%)
CIE-LABlab(76.86, -15.12, 36.51)
CIE-LCHlch(76.86, 39.51, 112.49°)
OKLaboklab(79.52% -0.0414 0.0894)
OKLCHoklch(79.52% 0.099 114.9)
XYZxyz(43.4411, 51.2999, 25.6988)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC479 #8379C4
analogous
#C4A979 #BAC479 #95C479
triadic
#BAC479 #79BAC4 #C479BA
tetradic
#BAC479 #79C4A9 #8379C4 #C47995
square
#BAC479 #79C4A9 #8379C4 #C47995
split-complementary
#BAC479 #7995C4 #A979C4
monochromatic
#7D873B #A4B14F #BAC479 #D0D7A3 #E6E9CE

Accessibility & contrast

On white

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

On black

11.26
#BAC479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC479
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC479#FFFFFF#000000##000000
##BAC4791.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD73
Deuteranopia (green-blind)
#CDBE7C
Tritanopia (blue-blind)
#C2BCB1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac479;
/* rgb */ color: rgb(186, 196, 121);
/* oklch */ color: oklch(79.5% 0.099 114.9);
Tailwind
colors: {
  custom: {
    50: '#d0d5a0',
    500: '#bac479',
    950: '#000000',
  },
}
SCSS
$custom: #bac479;
$custom-light: #d0d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#bac479",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 121
  },
  "hsl": {
    "h": 68,
    "s": 38.86,
    "l": 62.157
  },
  "oklch": {
    "l": 0.79521,
    "c": 0.0985,
    "h": 114.9
  },
  "luminance": 0.51299
}

Semantic roles & 50–950 ramp

primary
#BAC479
secondary
#5A528F
accent
#34B244
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #BAC479

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

Preview Lab → · Contrast checker → · Palette generator →

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