#BAC92C#BAC92C

#BAC92C 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#BAC92C
RGBrgb(186, 201, 44)
HSLhsl(66, 64%, 48%)
HSVhsv(66, 78%, 79%)
CMYKcmyk(7.5%, 0%, 78.1%, 21.2%)
CIE-LABlab(77.52, -23.49, 70.09)
CIE-LCHlch(77.52, 73.92, 108.52°)
OKLaboklab(79.81% -0.0721 0.1529)
OKLCHoklch(79.81% 0.169 115.2)
XYZxyz(41.5922, 52.3950, 10.3046)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC92C #3B2CC9
analogous
#C9892C #BAC92C #6CC92C
triadic
#BAC92C #2CBAC9 #C92CBA
tetradic
#BAC92C #2CC989 #3B2CC9 #C92C6C
square
#BAC92C #2CC989 #3B2CC9 #C92C6C
split-complementary
#BAC92C #2C6CC9 #892CC9
monochromatic
#5D6516 #8C9721 #BAC92C #CEDA58 #DDE58A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC92C#FFFFFF#000000##000000
##BAC92C1.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)
#D7C13B
Tritanopia (blue-blind)
#C6BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac92c;
/* rgb */ color: rgb(186, 201, 44);
/* oklch */ color: oklch(79.8% 0.169 115.2);
Tailwind
colors: {
  custom: {
    50: '#d3d973',
    500: '#bac92c',
    950: '#000000',
  },
}
SCSS
$custom: #bac92c;
$custom-light: #d3d973;
$custom-dark: #000000;
JSON
{
  "hex": "#bac92c",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 44
  },
  "hsl": {
    "h": 65.732,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79814,
    "c": 0.16904,
    "h": 115.2
  },
  "luminance": 0.52394
}

Semantic roles & 50–950 ramp

primary
#BAC92C
secondary
#312A6F
accent
#41E751
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC92C

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

Preview Lab → · Contrast checker → · Palette generator →

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