#BAC457#BAC457

#BAC457 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.134 H 113.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#BAC457
RGBrgb(186, 196, 87)
HSLhsl(66, 48%, 55%)
HSVhsv(66, 56%, 77%)
CMYKcmyk(5.1%, 0%, 55.6%, 23.1%)
CIE-LABlab(76.44, -18.49, 52.57)
CIE-LCHlch(76.44, 55.72, 109.38°)
OKLaboklab(79.05% -0.054 0.1223)
OKLCHoklch(79.05% 0.134 113.8)
XYZxyz(41.7108, 50.6078, 16.5860)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC457 #6157C4
analogous
#C49857 #BAC457 #83C457
triadic
#BAC457 #57BAC4 #C457BA
tetradic
#BAC457 #57C498 #6157C4 #C45783
square
#BAC457 #57C498 #6157C4 #C45783
split-complementary
#BAC457 #5783C4 #9857C4
monochromatic
#70772A #9AA43A #BAC457 #CDD484 #DFE4B2

Accessibility & contrast

On white

1.89
#BAC457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#BAC457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC457
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC457#FFFFFF#000000##000000
##BAC4571.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac457;
/* rgb */ color: rgb(186, 196, 87);
/* oklch */ color: oklch(79.0% 0.134 113.8);
Tailwind
colors: {
  custom: {
    50: '#d1d58a',
    500: '#bac457',
    950: '#000000',
  },
}
SCSS
$custom: #bac457;
$custom-light: #d1d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac457",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 65.505,
    "s": 48.018,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7905,
    "c": 0.13373,
    "h": 113.8
  },
  "luminance": 0.50607
}

Semantic roles & 50–950 ramp

primary
#BAC457
secondary
#453F80
accent
#50D85D
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC457

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

Preview Lab → · Contrast checker → · Palette generator →

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