#BACF2E#BACF2E

#BACF2E is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.2% C 0.174 H 117.2°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#BACF2E
RGBrgb(186, 207, 46)
HSLhsl(68, 64%, 50%)
HSVhsv(68, 78%, 81%)
CMYKcmyk(10.1%, 0%, 77.8%, 18.8%)
CIE-LABlab(79.19, -26.31, 71.03)
CIE-LCHlch(79.19, 75.74, 110.32°)
OKLaboklab(81.16% -0.0797 0.1552)
OKLCHoklch(81.16% 0.175 117.2)
XYZxyz(43.0568, 55.2625, 10.9828)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF2E #432ECF
analogous
#CF942E #BACF2E #6ACF2E
triadic
#BACF2E #2EBACF #CF2EBA
tetradic
#BACF2E #2ECF94 #432ECF #CF2E6A
square
#BACF2E #2ECF94 #432ECF #CF2E6A
split-complementary
#BACF2E #2E6ACF #942ECF
monochromatic
#606B18 #8D9D23 #BACF2E #CBDB5F #DBE791

Accessibility & contrast

On white

1.74
#BACF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#BACF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACF2E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACF2E#FFFFFF#000000##000000
##BACF2E1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC400
Deuteranopia (green-blind)
#DBC53E
Tritanopia (blue-blind)
#C6C3B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bacf2e;
/* rgb */ color: rgb(186, 207, 46);
/* oklch */ color: oklch(81.2% 0.174 117.2);
Tailwind
colors: {
  custom: {
    50: '#d3dd75',
    500: '#bacf2e',
    950: '#000000',
  },
}
SCSS
$custom: #bacf2e;
$custom-light: #d3dd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf2e",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 46
  },
  "hsl": {
    "h": 67.826,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.81164,
    "c": 0.1745,
    "h": 117.2
  },
  "luminance": 0.55262
}

Semantic roles & 50–950 ramp

primary
#BACF2E
secondary
#362D75
accent
#41E757
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BACF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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