#BACC48#BACC48

#BACC48 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.7% C 0.155 H 116.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#BACC48
RGBrgb(186, 204, 72)
HSLhsl(68, 56%, 54%)
HSVhsv(68, 65%, 80%)
CMYKcmyk(8.8%, 0%, 64.7%, 20%)
CIE-LABlab(78.52, -23.52, 61.29)
CIE-LCHlch(78.52, 65.64, 111.00°)
OKLaboklab(80.67% -0.0697 0.1389)
OKLCHoklch(80.67% 0.155 116.6)
XYZxyz(43.0132, 54.0932, 14.3048)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACC48 #5A48CC
analogous
#CC9C48 #BACC48 #78CC48
triadic
#BACC48 #48BACC #CC48BA
tetradic
#BACC48 #48CC9C #5A48CC #CC4878
square
#BACC48 #48CC9C #5A48CC #CC4878
split-complementary
#BACC48 #4878CC #9C48CC
monochromatic
#6C7821 #97A82F #BACC48 #CCD978 #DEE7A8

Accessibility & contrast

On white

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

On black

11.82
#BACC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACC48
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACC48#FFFFFF#000000##000000
##BACC481.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C236
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#C5C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacc48;
/* rgb */ color: rgb(186, 204, 72);
/* oklch */ color: oklch(80.7% 0.155 116.6);
Tailwind
colors: {
  custom: {
    50: '#d2db81',
    500: '#bacc48',
    950: '#000000',
  },
}
SCSS
$custom: #bacc48;
$custom-light: #d2db81;
$custom-dark: #000000;
JSON
{
  "hex": "#bacc48",
  "rgb": {
    "r": 186,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 68.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80671,
    "c": 0.15541,
    "h": 116.6
  },
  "luminance": 0.54093
}

Semantic roles & 50–950 ramp

primary
#BACC48
secondary
#423880
accent
#48E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BACC48

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

Preview Lab → · Contrast checker → · Palette generator →

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