#BAC94D#BAC94D

#BAC94D is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.148 H 115.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#BAC94D
RGBrgb(186, 201, 77)
HSLhsl(67, 53%, 55%)
HSVhsv(67, 62%, 79%)
CMYKcmyk(7.5%, 0%, 61.7%, 21.2%)
CIE-LABlab(77.73, -21.72, 58.39)
CIE-LCHlch(77.73, 62.30, 110.40°)
OKLaboklab(80.05% -0.0641 0.1335)
OKLCHoklch(80.05% 0.148 115.7)
XYZxyz(42.4768, 52.7488, 14.9636)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC94D #5C4DC9
analogous
#C99A4D #BAC94D #7CC94D
triadic
#BAC94D #4DBAC9 #C94DBA
tetradic
#BAC94D #4DC99A #5C4DC9 #C94D7C
square
#BAC94D #4DC99A #5C4DC9 #C94D7C
split-complementary
#BAC94D #4D7CC9 #9A4DC9
monochromatic
#6D7724 #98A632 #BAC94D #CCD77C #DEE5AB

Accessibility & contrast

On white

1.82
#BAC94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#BAC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC94D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC94D#FFFFFF#000000##000000
##BAC94D1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#C5BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac94d;
/* rgb */ color: rgb(186, 201, 77);
/* oklch */ color: oklch(80.0% 0.148 115.7);
Tailwind
colors: {
  custom: {
    50: '#d1d984',
    500: '#bac94d',
    950: '#000000',
  },
}
SCSS
$custom: #bac94d;
$custom-light: #d1d984;
$custom-dark: #000000;
JSON
{
  "hex": "#bac94d",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 67.258,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8005,
    "c": 0.1481,
    "h": 115.7
  },
  "luminance": 0.52748
}

Semantic roles & 50–950 ramp

primary
#BAC94D
secondary
#433A80
accent
#4BDD5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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