#BAC95B#BAC95B

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

Color values

HEX#BAC95B
RGBrgb(186, 201, 91)
HSLhsl(68, 50%, 57%)
HSVhsv(68, 55%, 79%)
CMYKcmyk(7.5%, 0%, 54.7%, 21.2%)
CIE-LABlab(77.86, -20.64, 52.36)
CIE-LCHlch(77.86, 56.28, 111.52°)
OKLaboklab(80.2% -0.0597 0.1223)
OKLCHoklch(80.2% 0.136 116)
XYZxyz(43.0254, 52.9682, 17.8528)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC95B #6A5BC9
analogous
#C9A15B #BAC95B #83C95B
triadic
#BAC95B #5BBAC9 #C95BBA
tetradic
#BAC95B #5BC9A1 #6A5BC9 #C95B83
square
#BAC95B #5BC9A1 #6A5BC9 #C95B83
split-complementary
#BAC95B #5B83C9 #A15BC9
monochromatic
#74802A #9EAE39 #BAC95B #CDD889 #E1E7B7

Accessibility & contrast

On white

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

On black

11.59
#BAC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC95B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC95B#FFFFFF#000000##000000
##BAC95B1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac95b;
/* rgb */ color: rgb(186, 201, 91);
/* oklch */ color: oklch(80.2% 0.136 116.0);
Tailwind
colors: {
  custom: {
    50: '#d1d98d',
    500: '#bac95b',
    950: '#000000',
  },
}
SCSS
$custom: #bac95b;
$custom-light: #d1d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#bac95b",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 68.182,
    "s": 50.459,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80196,
    "c": 0.13609,
    "h": 116
  },
  "luminance": 0.52968
}

Semantic roles & 50–950 ramp

primary
#BAC95B
secondary
#4A4187
accent
#4EDA61
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BAC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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