#BAC758#BAC758

#BAC758 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.7% C 0.136 H 115.1°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#BAC758
RGBrgb(186, 199, 88)
HSLhsl(67, 50%, 56%)
HSVhsv(67, 56%, 78%)
CMYKcmyk(6.5%, 0%, 55.8%, 22%)
CIE-LABlab(77.28, -19.90, 53.06)
CIE-LCHlch(77.28, 56.67, 110.56°)
OKLaboklab(79.72% -0.0579 0.1235)
OKLCHoklch(79.72% 0.136 115.1)
XYZxyz(42.4354, 51.9911, 17.0305)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC758 #6558C7
analogous
#C79D58 #BAC758 #83C758
triadic
#BAC758 #58BAC7 #C758BA
tetradic
#BAC758 #58C79D #6558C7 #C75883
square
#BAC758 #58C79D #6558C7 #C75883
split-complementary
#BAC758 #5883C7 #9D58C7
monochromatic
#727B29 #9CA939 #BAC758 #CDD686 #E0E6B4

Accessibility & contrast

On white

1.84
#BAC758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#BAC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC758
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC758#FFFFFF#000000##000000
##BAC7581.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#D3C05F
Tritanopia (blue-blind)
#C5BDAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac758;
/* rgb */ color: rgb(186, 199, 88);
/* oklch */ color: oklch(79.7% 0.136 115.1);
Tailwind
colors: {
  custom: {
    50: '#d1d78b',
    500: '#bac758',
    950: '#000000',
  },
}
SCSS
$custom: #bac758;
$custom-light: #d1d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac758",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 67.027,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79721,
    "c": 0.1364,
    "h": 115.1
  },
  "luminance": 0.51991
}

Semantic roles & 50–950 ramp

primary
#BAC758
secondary
#484084
accent
#4FD95F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC758

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

Preview Lab → · Contrast checker → · Palette generator →

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