#BAC53E#BAC53E

#BAC53E is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.155 H 114.0°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#BAC53E
RGBrgb(186, 197, 62)
HSLhsl(65, 54%, 51%)
HSVhsv(65, 69%, 77%)
CMYKcmyk(5.6%, 0%, 68.5%, 22.7%)
CIE-LABlab(76.51, -20.69, 63.13)
CIE-LCHlch(76.51, 66.43, 108.15°)
OKLaboklab(79.04% -0.0628 0.1412)
OKLCHoklch(79.04% 0.155 114)
XYZxyz(41.0866, 50.7202, 12.1821)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC53E #493EC5
analogous
#C58C3E #BAC53E #76C53E
triadic
#BAC53E #3EBAC5 #C53EBA
tetradic
#BAC53E #3EC58C #493EC5 #C53E76
square
#BAC53E #3EC58C #493EC5 #C53E76
split-complementary
#BAC53E #3E76C5 #8C3EC5
monochromatic
#636920 #8F982E #BAC53E #CBD36D #DCE19C

Accessibility & contrast

On white

1.88
#BAC53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#BAC53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC53E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC53E#FFFFFF#000000##000000
##BAC53E1.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC29
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#C6BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac53e;
/* rgb */ color: rgb(186, 197, 62);
/* oklch */ color: oklch(79.0% 0.155 114.0);
Tailwind
colors: {
  custom: {
    50: '#d2d67b',
    500: '#bac53e',
    950: '#000000',
  },
}
SCSS
$custom: #bac53e;
$custom-light: #d2d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac53e",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 64.889,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79038,
    "c": 0.15457,
    "h": 114
  },
  "luminance": 0.50719
}

Semantic roles & 50–950 ramp

primary
#BAC53E
secondary
#393473
accent
#4BDD57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC53E

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

Preview Lab → · Contrast checker → · Palette generator →

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