#BAC93E#BAC93E

#BAC93E is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.159 H 115.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#BAC93E
RGBrgb(186, 201, 62)
HSLhsl(66, 56%, 52%)
HSVhsv(66, 69%, 79%)
CMYKcmyk(7.5%, 0%, 69.2%, 21.2%)
CIE-LABlab(77.61, -22.65, 64.23)
CIE-LCHlch(77.61, 68.11, 109.43°)
OKLaboklab(79.93% -0.0682 0.1436)
OKLCHoklch(79.93% 0.159 115.4)
XYZxyz(42.0069, 52.5609, 12.4889)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC93E #4D3EC9
analogous
#C9933E #BAC93E #75C93E
triadic
#BAC93E #3EBAC9 #C93EBA
tetradic
#BAC93E #3EC993 #4D3EC9 #C93E75
square
#BAC93E #3EC993 #4D3EC9 #C93E75
split-complementary
#BAC93E #3E75C9 #933EC9
monochromatic
#656E1F #919E2C #BAC93E #CBD66E #DCE49E

Accessibility & contrast

On white

1.82
#BAC93E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#BAC93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC93E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC93E#FFFFFF#000000##000000
##BAC93E1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF27
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#C6BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac93e;
/* rgb */ color: rgb(186, 201, 62);
/* oklch */ color: oklch(79.9% 0.159 115.4);
Tailwind
colors: {
  custom: {
    50: '#d2d97c',
    500: '#bac93e',
    950: '#000000',
  },
}
SCSS
$custom: #bac93e;
$custom-light: #d2d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac93e",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 66.475,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79925,
    "c": 0.15896,
    "h": 115.4
  },
  "luminance": 0.5256
}

Semantic roles & 50–950 ramp

primary
#BAC93E
secondary
#3B3477
accent
#48E059
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC93E

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

Preview Lab → · Contrast checker → · Palette generator →

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