#BACC3F#BACC3F

#BACC3F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.6% C 0.162 H 116.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#BACC3F
RGBrgb(186, 204, 63)
HSLhsl(68, 58%, 52%)
HSVhsv(68, 69%, 80%)
CMYKcmyk(8.8%, 0%, 69.1%, 20%)
CIE-LABlab(78.45, -24.06, 64.70)
CIE-LCHlch(78.45, 69.02, 110.40°)
OKLaboklab(80.6% -0.072 0.1447)
OKLCHoklch(80.6% 0.162 116.5)
XYZxyz(42.7408, 53.9843, 12.8701)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC3F #513FCC
analogous
#CC983F #BACC3F #73CC3F
triadic
#BACC3F #3FBACC #CC3FBA
tetradic
#BACC3F #3FCC98 #513FCC #CC3F73
square
#BACC3F #3FCC98 #513FCC #CC3F73
split-complementary
#BACC3F #3F73CC #983FCC
monochromatic
#68721E #93A32B #BACC3F #CBD96F #DDE6A0

Accessibility & contrast

On white

1.78
#BACC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#BACC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC3F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC3F#FFFFFF#000000##000000
##BACC3F1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC128
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc3f;
/* rgb */ color: rgb(186, 204, 63);
/* oklch */ color: oklch(80.6% 0.162 116.5);
Tailwind
colors: {
  custom: {
    50: '#d2db7d',
    500: '#bacc3f',
    950: '#000000',
  },
}
SCSS
$custom: #bacc3f;
$custom-light: #d2db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc3f",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 67.66,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80599,
    "c": 0.16165,
    "h": 116.5
  },
  "luminance": 0.53984
}

Semantic roles & 50–950 ramp

primary
#BACC3F
secondary
#3D347B
accent
#47E15A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BACC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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