#BACE3B#BACE3B

#BACE3B is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.0% C 0.166 H 117.1°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#BACE3B
RGBrgb(186, 206, 59)
HSLhsl(68, 60%, 52%)
HSVhsv(68, 71%, 81%)
CMYKcmyk(9.7%, 0%, 71.4%, 19.2%)
CIE-LABlab(78.98, -25.24, 66.66)
CIE-LCHlch(78.98, 71.28, 110.74°)
OKLaboklab(81.02% -0.0757 0.1482)
OKLCHoklch(81.02% 0.166 117.1)
XYZxyz(43.1114, 54.8980, 12.4621)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACE3B #4F3BCE
analogous
#CE983B #BACE3B #71CE3B
triadic
#BACE3B #3BBACE #CE3BBA
tetradic
#BACE3B #3BCE98 #4F3BCE #CE3B71
square
#BACE3B #3BCE98 #4F3BCE #CE3B71
split-complementary
#BACE3B #3B71CE #983BCE
monochromatic
#66721D #92A329 #BACE3B #CBDA6C #DCE69D

Accessibility & contrast

On white

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

On black

11.98
#BACE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACE3B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACE3B#FFFFFF#000000##000000
##BACE3B1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC320
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#C5C2B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bace3b;
/* rgb */ color: rgb(186, 206, 59);
/* oklch */ color: oklch(81.0% 0.166 117.1);
Tailwind
colors: {
  custom: {
    50: '#d2dc7b',
    500: '#bace3b',
    950: '#000000',
  },
}
SCSS
$custom: #bace3b;
$custom-light: #d2dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bace3b",
  "rgb": {
    "r": 186,
    "g": 206,
    "b": 59
  },
  "hsl": {
    "h": 68.163,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81017,
    "c": 0.1664,
    "h": 117.1
  },
  "luminance": 0.54897
}

Semantic roles & 50–950 ramp

primary
#BACE3B
secondary
#3C327B
accent
#45E35A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BACE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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