#BAC92A#BAC92A

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

Color values

HEX#BAC92A
RGBrgb(186, 201, 42)
HSLhsl(66, 65%, 48%)
HSVhsv(66, 79%, 79%)
CMYKcmyk(7.5%, 0%, 79.1%, 21.2%)
CIE-LABlab(77.51, -23.56, 70.65)
CIE-LCHlch(77.51, 74.48, 108.44°)
OKLaboklab(79.81% -0.0724 0.1538)
OKLCHoklch(79.81% 0.17 115.2)
XYZxyz(41.5555, 52.3803, 10.1114)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC92A #392AC9
analogous
#C9882A #BAC92A #6BC92A
triadic
#BAC92A #2ABAC9 #C92ABA
tetradic
#BAC92A #2AC988 #392AC9 #C92A6B
square
#BAC92A #2AC988 #392AC9 #C92A6B
split-complementary
#BAC92A #2A6BC9 #882AC9
monochromatic
#5C6415 #8B961F #BAC92A #CFDB55 #DDE687

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC92A#FFFFFF#000000##000000
##BAC92A1.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)
#D8BE00
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#C6BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac92a;
/* rgb */ color: rgb(186, 201, 42);
/* oklch */ color: oklch(79.8% 0.170 115.2);
Tailwind
colors: {
  custom: {
    50: '#d3d972',
    500: '#bac92a',
    950: '#000000',
  },
}
SCSS
$custom: #bac92a;
$custom-light: #d3d972;
$custom-dark: #000000;
JSON
{
  "hex": "#bac92a",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 42
  },
  "hsl": {
    "h": 65.66,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.79805,
    "c": 0.16996,
    "h": 115.2
  },
  "luminance": 0.5238
}

Semantic roles & 50–950 ramp

primary
#BAC92A
secondary
#30296E
accent
#3FE84F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC92A

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

Preview Lab → · Contrast checker → · Palette generator →

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