#BAC92D#BAC92D

#BAC92D is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.169 H 115.2°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#BAC92D
RGBrgb(186, 201, 45)
HSLhsl(66, 63%, 48%)
HSVhsv(66, 78%, 79%)
CMYKcmyk(7.5%, 0%, 77.6%, 21.2%)
CIE-LABlab(77.52, -23.45, 69.81)
CIE-LCHlch(77.52, 73.64, 108.57°)
OKLaboklab(79.82% -0.0719 0.1525)
OKLCHoklch(79.82% 0.169 115.2)
XYZxyz(41.6112, 52.4026, 10.4048)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC92D #3C2DC9
analogous
#C98A2D #BAC92D #6CC92D
triadic
#BAC92D #2DBAC9 #C92DBA
tetradic
#BAC92D #2DC98A #3C2DC9 #C92D6C
square
#BAC92D #2DC98A #3C2DC9 #C92D6C
split-complementary
#BAC92D #2D6CC9 #8A2DC9
monochromatic
#5D6517 #8C9722 #BAC92D #CEDA59 #DCE58B

Accessibility & contrast

On white

1.83
#BAC92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#BAC92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC92D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC92D#FFFFFF#000000##000000
##BAC92D1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#C6BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac92d;
/* rgb */ color: rgb(186, 201, 45);
/* oklch */ color: oklch(79.8% 0.169 115.2);
Tailwind
colors: {
  custom: {
    50: '#d3d974',
    500: '#bac92d',
    950: '#000000',
  },
}
SCSS
$custom: #bac92d;
$custom-light: #d3d974;
$custom-dark: #000000;
JSON
{
  "hex": "#bac92d",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 45
  },
  "hsl": {
    "h": 65.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79819,
    "c": 0.16857,
    "h": 115.2
  },
  "luminance": 0.52402
}

Semantic roles & 50–950 ramp

primary
#BAC92D
secondary
#312B6F
accent
#41E651
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC92D

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

Preview Lab → · Contrast checker → · Palette generator →

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