#BACE40#BACE40

#BACE40 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.1% C 0.163 H 117.1°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#BACE40
RGBrgb(186, 206, 64)
HSLhsl(68, 59%, 53%)
HSVhsv(68, 69%, 81%)
CMYKcmyk(9.7%, 0%, 68.9%, 19.2%)
CIE-LABlab(79.01, -24.97, 64.89)
CIE-LCHlch(79.01, 69.53, 111.05°)
OKLaboklab(81.05% -0.0745 0.1453)
OKLCHoklch(81.05% 0.163 117.1)
XYZxyz(43.2474, 54.9524, 13.1781)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACE40 #5440CE
analogous
#CE9B40 #BACE40 #73CE40
triadic
#BACE40 #40BACE #CE40BA
tetradic
#BACE40 #40CE9B #5440CE #CE4073
square
#BACE40 #40CE9B #5440CE #CE4073
split-complementary
#BACE40 #4073CE #9B40CE
monochromatic
#69751E #95A62B #BACE40 #CCDA71 #DDE7A1

Accessibility & contrast

On white

1.75
#BACE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#BACE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACE40
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACE40#FFFFFF#000000##000000
##BACE401.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bace40;
/* rgb */ color: rgb(186, 206, 64);
/* oklch */ color: oklch(81.1% 0.163 117.1);
Tailwind
colors: {
  custom: {
    50: '#d2dc7d',
    500: '#bace40',
    950: '#000000',
  },
}
SCSS
$custom: #bace40;
$custom-light: #d2dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#bace40",
  "rgb": {
    "r": 186,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 68.451,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81052,
    "c": 0.16325,
    "h": 117.1
  },
  "luminance": 0.54952
}

Semantic roles & 50–950 ramp

primary
#BACE40
secondary
#3F347E
accent
#45E25C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #BACE40

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

Preview Lab → · Contrast checker → · Palette generator →

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