#BAC858#BAC858

#BAC858 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.9% C 0.138 H 115.5°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#BAC858
RGBrgb(186, 200, 88)
HSLhsl(68, 50%, 56%)
HSVhsv(68, 56%, 78%)
CMYKcmyk(7%, 0%, 56%, 21.6%)
CIE-LABlab(77.55, -20.40, 53.37)
CIE-LCHlch(77.55, 57.14, 110.91°)
OKLaboklab(79.94% -0.0593 0.1242)
OKLCHoklch(79.94% 0.138 115.5)
XYZxyz(42.6662, 52.4528, 17.1074)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC858 #6658C8
analogous
#C89E58 #BAC858 #82C858
triadic
#BAC858 #58BAC8 #C858BA
tetradic
#BAC858 #58C89E #6658C8 #C85882
square
#BAC858 #58C89E #6658C8 #C85882
split-complementary
#BAC858 #5882C8 #9E58C8
monochromatic
#727D29 #9CAB38 #BAC858 #CDD786 #E0E6B4

Accessibility & contrast

On white

1.83
#BAC858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#BAC858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC858
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC858#FFFFFF#000000##000000
##BAC8581.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4C
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#C4BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac858;
/* rgb */ color: rgb(186, 200, 88);
/* oklch */ color: oklch(79.9% 0.138 115.5);
Tailwind
colors: {
  custom: {
    50: '#d1d88b',
    500: '#bac858',
    950: '#000000',
  },
}
SCSS
$custom: #bac858;
$custom-light: #d1d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac858",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 67.5,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79942,
    "c": 0.1376,
    "h": 115.5
  },
  "luminance": 0.52452
}

Semantic roles & 50–950 ramp

primary
#BAC858
secondary
#483F85
accent
#4EDA5F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC858

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

Preview Lab → · Contrast checker → · Palette generator →

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