#BAF56D#BAF56D

#BAF56D is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.2% C 0.177 H 129.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#BAF56D
RGBrgb(186, 245, 109)
HSLhsl(86, 87%, 69%)
HSVhsv(86, 56%, 96%)
CMYKcmyk(24.1%, 0%, 55.5%, 3.9%)
CIE-LABlab(90.25, -39.66, 58.53)
CIE-LCHlch(90.25, 70.70, 124.12°)
OKLaboklab(90.24% -0.1112 0.1374)
OKLCHoklch(90.24% 0.177 129)
XYZxyz(55.6621, 76.8469, 26.3654)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF56D #A86DF5
analogous
#F5EC6D #BAF56D #76F56D
triadic
#BAF56D #6DBAF5 #F56DBA
tetradic
#BAF56D #6DF5EC #A86DF5 #F56D76
square
#BAF56D #6DF5EC #A86DF5 #F56D76
split-complementary
#BAF56D #6D76F5 #EC6DF5
monochromatic
#81D90F #9FF134 #BAF56D #D5F9A6 #F0FDE0

Accessibility & contrast

On white

1.28
#BAF56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#BAF56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF56D
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF56D#FFFFFF#000000##000000
##BAF56D1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE65F
Deuteranopia (green-blind)
#F7E276
Tritanopia (blue-blind)
#BFEBD7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf56d;
/* rgb */ color: rgb(186, 245, 109);
/* oklch */ color: oklch(90.2% 0.177 129.0);
Tailwind
colors: {
  custom: {
    50: '#d2f89b',
    500: '#baf56d',
    950: '#000000',
  },
}
SCSS
$custom: #baf56d;
$custom-light: #d2f89b;
$custom-dark: #000000;
JSON
{
  "hex": "#baf56d",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 86.029,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90235,
    "c": 0.17675,
    "h": 129
  },
  "luminance": 0.76848
}

Semantic roles & 50–950 ramp

primary
#BAF56D
secondary
#7937CF
accent
#02E464
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF56D

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

Preview Lab → · Contrast checker → · Palette generator →

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