#BAC95F#BAC95F

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

Color values

HEX#BAC95F
RGBrgb(186, 201, 95)
HSLhsl(68, 50%, 58%)
HSVhsv(68, 53%, 79%)
CMYKcmyk(7.5%, 0%, 52.7%, 21.2%)
CIE-LABlab(77.90, -20.29, 50.55)
CIE-LCHlch(77.90, 54.47, 111.87°)
OKLaboklab(80.24% -0.0583 0.1188)
OKLCHoklch(80.24% 0.132 116.1)
XYZxyz(43.2026, 53.0391, 18.7859)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC95F #6E5FC9
analogous
#C9A35F #BAC95F #85C95F
triadic
#BAC95F #5FBAC9 #C95FBA
tetradic
#BAC95F #5FC9A3 #6E5FC9 #C95F85
square
#BAC95F #5FC9A3 #6E5FC9 #C95F85
split-complementary
#BAC95F #5F85C9 #A35FC9
monochromatic
#76822C #9FB03B #BAC95F #CED88D #E1E8BB

Accessibility & contrast

On white

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

On black

11.61
#BAC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC95F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC95F#FFFFFF#000000##000000
##BAC95F1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#D4C165
Tritanopia (blue-blind)
#C4BFB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bac95f;
/* rgb */ color: rgb(186, 201, 95);
/* oklch */ color: oklch(80.2% 0.132 116.1);
Tailwind
colors: {
  custom: {
    50: '#d1d98f',
    500: '#bac95f',
    950: '#000000',
  },
}
SCSS
$custom: #bac95f;
$custom-light: #d1d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac95f",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 68.491,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80243,
    "c": 0.13236,
    "h": 116.1
  },
  "luminance": 0.53039
}

Semantic roles & 50–950 ramp

primary
#BAC95F
secondary
#4D438A
accent
#4FD962
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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