#BAC95D#BAC95D

#BAC95D is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.2% C 0.134 H 116.1°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#BAC95D
RGBrgb(186, 201, 93)
HSLhsl(68, 50%, 58%)
HSVhsv(68, 54%, 79%)
CMYKcmyk(7.5%, 0%, 53.7%, 21.2%)
CIE-LABlab(77.88, -20.47, 51.46)
CIE-LCHlch(77.88, 55.38, 111.69°)
OKLaboklab(80.22% -0.059 0.1206)
OKLCHoklch(80.22% 0.134 116.1)
XYZxyz(43.1128, 53.0032, 18.3133)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC95D #6C5DC9
analogous
#C9A25D #BAC95D #84C95D
triadic
#BAC95D #5DBAC9 #C95DBA
tetradic
#BAC95D #5DC9A2 #6C5DC9 #C95D84
square
#BAC95D #5DC9A2 #6C5DC9 #C95D84
split-complementary
#BAC95D #5D84C9 #A25DC9
monochromatic
#75812B #9EAF3A #BAC95D #CED88B #E1E8B9

Accessibility & contrast

On white

1.81
#BAC95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#BAC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC95D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC95D#FFFFFF#000000##000000
##BAC95D1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C052
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#C4BFB1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac95d;
/* rgb */ color: rgb(186, 201, 93);
/* oklch */ color: oklch(80.2% 0.134 116.1);
Tailwind
colors: {
  custom: {
    50: '#d1d98e',
    500: '#bac95d',
    950: '#000000',
  },
}
SCSS
$custom: #bac95d;
$custom-light: #d1d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#bac95d",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 68.333,
    "s": 50,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80219,
    "c": 0.13424,
    "h": 116.1
  },
  "luminance": 0.53003
}

Semantic roles & 50–950 ramp

primary
#BAC95D
secondary
#4C4288
accent
#4EDA62
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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