#BACF39#BACF39

#BACF39 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.2% C 0.169 H 117.3°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#BACF39
RGBrgb(186, 207, 57)
HSLhsl(68, 61%, 52%)
HSVhsv(68, 72%, 81%)
CMYKcmyk(10.1%, 0%, 72.5%, 18.8%)
CIE-LABlab(79.25, -25.82, 67.61)
CIE-LCHlch(79.25, 72.37, 110.90°)
OKLaboklab(81.23% -0.0775 0.1499)
OKLCHoklch(81.23% 0.169 117.3)
XYZxyz(43.3021, 55.3607, 12.2746)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF39 #4E39CF
analogous
#CF9939 #BACF39 #6FCF39
triadic
#BACF39 #39BACF #CF39BA
tetradic
#BACF39 #39CF99 #4E39CF #CF396F
square
#BACF39 #39CF99 #4E39CF #CF396F
split-complementary
#BACF39 #396FCF #9939CF
monochromatic
#66721C #92A328 #BACF39 #CBDB6A #DCE79C

Accessibility & contrast

On white

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

On black

12.07
#BACF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACF39
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACF39#FFFFFF#000000##000000
##BACF391.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC41B
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#C5C3B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bacf39;
/* rgb */ color: rgb(186, 207, 57);
/* oklch */ color: oklch(81.2% 0.169 117.3);
Tailwind
colors: {
  custom: {
    50: '#d2dd7a',
    500: '#bacf39',
    950: '#000000',
  },
}
SCSS
$custom: #bacf39;
$custom-light: #d2dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf39",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 57
  },
  "hsl": {
    "h": 68.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81227,
    "c": 0.1687,
    "h": 117.3
  },
  "luminance": 0.5536
}

Semantic roles & 50–950 ramp

primary
#BACF39
secondary
#3C317B
accent
#44E45A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BACF39

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

Preview Lab → · Contrast checker → · Palette generator →

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