#BAC22E#BAC22E

#BAC22E is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.161 H 112.8°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#BAC22E
RGBrgb(186, 194, 46)
HSLhsl(63, 62%, 47%)
HSVhsv(63, 76%, 76%)
CMYKcmyk(4.1%, 0%, 76.3%, 23.9%)
CIE-LABlab(75.59, -19.97, 67.75)
CIE-LCHlch(75.59, 70.63, 106.43°)
OKLaboklab(78.27% -0.0622 0.1483)
OKLCHoklch(78.27% 0.161 112.8)
XYZxyz(40.0359, 49.2209, 9.9758)
Luminance0.4922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC22E #362EC2
analogous
#C2802E #BAC22E #70C22E
triadic
#BAC22E #2EBAC2 #C22EBA
tetradic
#BAC22E #2EC280 #362EC2 #C22E70
square
#BAC22E #2EC280 #362EC2 #C22E70
split-complementary
#BAC22E #2E70C2 #802EC2
monochromatic
#5B5F17 #8B9122 #BAC22E #D0D756 #DEE388

Accessibility & contrast

On white

1.94
#BAC22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#BAC22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC22E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC22E#FFFFFF#000000##000000
##BAC22E1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B903
Deuteranopia (green-blind)
#D1BC3B
Tritanopia (blue-blind)
#C7B6A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac22e;
/* rgb */ color: rgb(186, 194, 46);
/* oklch */ color: oklch(78.3% 0.161 112.8);
Tailwind
colors: {
  custom: {
    50: '#d3d473',
    500: '#bac22e',
    950: '#000000',
  },
}
SCSS
$custom: #bac22e;
$custom-light: #d3d473;
$custom-dark: #000000;
JSON
{
  "hex": "#bac22e",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 63.243,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78271,
    "c": 0.16078,
    "h": 112.8
  },
  "luminance": 0.4922
}

Semantic roles & 50–950 ramp

primary
#BAC22E
secondary
#847FCC
accent
#43E54C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC22E

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

Preview Lab → · Contrast checker → · Palette generator →

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