#BACF3A#BACF3A

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

Color values

HEX#BACF3A
RGBrgb(186, 207, 58)
HSLhsl(68, 61%, 52%)
HSVhsv(68, 72%, 81%)
CMYKcmyk(10.1%, 0%, 72%, 18.8%)
CIE-LABlab(79.25, -25.77, 67.27)
CIE-LCHlch(79.25, 72.04, 110.96°)
OKLaboklab(81.23% -0.0772 0.1493)
OKLCHoklch(81.23% 0.168 117.4)
XYZxyz(43.3273, 55.3707, 12.4073)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF3A #4F3ACF
analogous
#CF993A #BACF3A #70CF3A
triadic
#BACF3A #3ABACF #CF3ABA
tetradic
#BACF3A #3ACF99 #4F3ACF #CF3A70
square
#BACF3A #3ACF99 #4F3ACF #CF3A70
split-complementary
#BACF3A #3A70CF #993ACF
monochromatic
#66731C #92A428 #BACF3A #CBDB6B #DCE79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACF3A#FFFFFF#000000##000000
##BACF3A1.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)
#DDC41D
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#C5C3B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bacf3a;
/* rgb */ color: rgb(186, 207, 58);
/* oklch */ color: oklch(81.2% 0.168 117.4);
Tailwind
colors: {
  custom: {
    50: '#d2dd7a',
    500: '#bacf3a',
    950: '#000000',
  },
}
SCSS
$custom: #bacf3a;
$custom-light: #d2dd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf3a",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 68.456,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81233,
    "c": 0.16812,
    "h": 117.4
  },
  "luminance": 0.5537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BACF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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