#BAC95A#BAC95A

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

Color values

HEX#BAC95A
RGBrgb(186, 201, 90)
HSLhsl(68, 51%, 57%)
HSVhsv(68, 55%, 79%)
CMYKcmyk(7.5%, 0%, 55.2%, 21.2%)
CIE-LABlab(77.85, -20.72, 52.80)
CIE-LCHlch(77.85, 56.72, 111.43°)
OKLaboklab(80.18% -0.06 0.1232)
OKLCHoklch(80.18% 0.137 116)
XYZxyz(42.9825, 52.9511, 17.6272)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC95A #695AC9
analogous
#C9A15A #BAC95A #83C95A
triadic
#BAC95A #5ABAC9 #C95ABA
tetradic
#BAC95A #5AC9A1 #695AC9 #C95A83
square
#BAC95A #5AC9A1 #695AC9 #C95A83
split-complementary
#BAC95A #5A83C9 #A15AC9
monochromatic
#737F2A #9DAD39 #BAC95A #CDD888 #E1E7B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC95A#FFFFFF#000000##000000
##BAC95A1.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)
#D5C04F
Deuteranopia (green-blind)
#D4C161
Tritanopia (blue-blind)
#C4BFB1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac95a;
/* rgb */ color: rgb(186, 201, 90);
/* oklch */ color: oklch(80.2% 0.137 116.0);
Tailwind
colors: {
  custom: {
    50: '#d1d98c',
    500: '#bac95a',
    950: '#000000',
  },
}
SCSS
$custom: #bac95a;
$custom-light: #d1d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac95a",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 68.108,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80184,
    "c": 0.13701,
    "h": 116
  },
  "luminance": 0.52951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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