#BAC32E#BAC32E

#BAC32E is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.162 H 113.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#BAC32E
RGBrgb(186, 195, 46)
HSLhsl(64, 62%, 47%)
HSVhsv(64, 76%, 76%)
CMYKcmyk(4.6%, 0%, 76.4%, 23.5%)
CIE-LABlab(75.86, -20.47, 68.00)
CIE-LCHlch(75.86, 71.01, 106.75°)
OKLaboklab(78.49% -0.0636 0.1488)
OKLCHoklch(78.49% 0.162 113.1)
XYZxyz(40.2592, 49.6675, 10.0502)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC32E #372EC3
analogous
#C3812E #BAC32E #70C32E
triadic
#BAC32E #2EBAC3 #C32EBA
tetradic
#BAC32E #2EC381 #372EC3 #C32E70
square
#BAC32E #2EC381 #372EC3 #C32E70
split-complementary
#BAC32E #2E70C3 #812EC3
monochromatic
#5C6017 #8B9122 #BAC32E #D0D757 #DEE388

Accessibility & contrast

On white

1.92
#BAC32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#BAC32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC32E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC32E#FFFFFF#000000##000000
##BAC32E1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B902
Deuteranopia (green-blind)
#D2BC3B
Tritanopia (blue-blind)
#C7B7A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac32e;
/* rgb */ color: rgb(186, 195, 46);
/* oklch */ color: oklch(78.5% 0.162 113.1);
Tailwind
colors: {
  custom: {
    50: '#d3d573',
    500: '#bac32e',
    950: '#000000',
  },
}
SCSS
$custom: #bac32e;
$custom-light: #d3d573;
$custom-dark: #000000;
JSON
{
  "hex": "#bac32e",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 46
  },
  "hsl": {
    "h": 63.624,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78493,
    "c": 0.16182,
    "h": 113.1
  },
  "luminance": 0.49667
}

Semantic roles & 50–950 ramp

primary
#BAC32E
secondary
#8580CD
accent
#43E54D
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC32E

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

Preview Lab → · Contrast checker → · Palette generator →

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