#BAC91E#BAC91E

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

Color values

HEX#BAC91E
RGBrgb(186, 201, 30)
HSLhsl(65, 74%, 45%)
HSVhsv(65, 85%, 79%)
CMYKcmyk(7.5%, 0%, 85.1%, 21.2%)
CIE-LABlab(77.46, -23.93, 73.56)
CIE-LCHlch(77.46, 77.35, 108.02°)
OKLaboklab(79.76% -0.0742 0.1581)
OKLCHoklch(79.76% 0.175 115.2)
XYZxyz(41.3720, 52.3069, 9.1449)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC91E #2D1EC9
analogous
#C9821E #BAC91E #65C91E
triadic
#BAC91E #1EBAC9 #C91EBA
tetradic
#BAC91E #1EC982 #2D1EC9 #C91E65
square
#BAC91E #1EC982 #2D1EC9 #C91E65
split-complementary
#BAC91E #1E65C9 #821EC9
monochromatic
#575E0E #899416 #BAC91E #D5E341 #E0EB77

Accessibility & contrast

On white

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

On black

11.46
#BAC91E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC91E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC91E#FFFFFF#000000##000000
##BAC91E1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D7C132
Tritanopia (blue-blind)
#C7BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac91e;
/* rgb */ color: rgb(186, 201, 30);
/* oklch */ color: oklch(79.8% 0.175 115.2);
Tailwind
colors: {
  custom: {
    50: '#d3d96e',
    500: '#bac91e',
    950: '#000000',
  },
}
SCSS
$custom: #bac91e;
$custom-light: #d3d96e;
$custom-dark: #000000;
JSON
{
  "hex": "#bac91e",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 30
  },
  "hsl": {
    "h": 65.263,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.79756,
    "c": 0.17461,
    "h": 115.2
  },
  "luminance": 0.52306
}

Semantic roles & 50–950 ramp

primary
#BAC91E
secondary
#28226A
accent
#37F147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BAC91E

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

Preview Lab → · Contrast checker → · Palette generator →

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