#BAC93A#BAC93A

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

Color values

HEX#BAC93A
RGBrgb(186, 201, 58)
HSLhsl(66, 57%, 51%)
HSVhsv(66, 71%, 79%)
CMYKcmyk(7.5%, 0%, 71.1%, 21.2%)
CIE-LABlab(77.59, -22.87, 65.65)
CIE-LCHlch(77.59, 69.52, 109.20°)
OKLaboklab(79.9% -0.0692 0.1459)
OKLCHoklch(79.9% 0.161 115.4)
XYZxyz(41.9012, 52.5186, 11.9320)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC93A #493AC9
analogous
#C9903A #BAC93A #72C93A
triadic
#BAC93A #3ABAC9 #C93ABA
tetradic
#BAC93A #3AC990 #493AC9 #C93A72
square
#BAC93A #3AC990 #493AC9 #C93A72
split-complementary
#BAC93A #3A72C9 #903AC9
monochromatic
#636B1D #8F9B2B #BAC93A #CBD66A #DCE39A

Accessibility & contrast

On white

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

On black

11.50
#BAC93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC93A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC93A#FFFFFF#000000##000000
##BAC93A1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF20
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#C6BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac93a;
/* rgb */ color: rgb(186, 201, 58);
/* oklch */ color: oklch(79.9% 0.161 115.4);
Tailwind
colors: {
  custom: {
    50: '#d2d97a',
    500: '#bac93a',
    950: '#000000',
  },
}
SCSS
$custom: #bac93a;
$custom-light: #d2d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac93a",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 66.294,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79897,
    "c": 0.16148,
    "h": 115.4
  },
  "luminance": 0.52518
}

Semantic roles & 50–950 ramp

primary
#BAC93A
secondary
#393275
accent
#48E058
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC93A

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

Preview Lab → · Contrast checker → · Palette generator →

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