#BAF16B#BAF16B

#BAF16B is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.3% C 0.173 H 128.1°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#BAF16B
RGBrgb(186, 241, 107)
HSLhsl(85, 83%, 68%)
HSVhsv(85, 56%, 95%)
CMYKcmyk(22.8%, 0%, 55.6%, 5.5%)
CIE-LABlab(89.12, -38.06, 58.11)
CIE-LCHlch(89.12, 69.46, 123.22°)
OKLaboklab(89.31% -0.107 0.1363)
OKLCHoklch(89.31% 0.173 128.1)
XYZxyz(54.3586, 74.4102, 25.4058)
Luminance0.7441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF16B #A26BF1
analogous
#F1E56B #BAF16B #77F16B
triadic
#BAF16B #6BBAF1 #F16BBA
tetradic
#BAF16B #6BF1E5 #A26BF1 #F16B77
square
#BAF16B #6BF1E5 #A26BF1 #F16B77
split-complementary
#BAF16B #6B77F1 #E56BF1
monochromatic
#82CE13 #A0EC33 #BAF16B #D4F6A3 #EEFCDB

Accessibility & contrast

On white

1.32
#BAF16B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#BAF16B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF16B
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF16B#FFFFFF#000000##000000
##BAF16B1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25D
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#BFE7D4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf16b;
/* rgb */ color: rgb(186, 241, 107);
/* oklch */ color: oklch(89.3% 0.173 128.1);
Tailwind
colors: {
  custom: {
    50: '#d1f699',
    500: '#baf16b',
    950: '#000000',
  },
}
SCSS
$custom: #baf16b;
$custom-light: #d1f699;
$custom-dark: #000000;
JSON
{
  "hex": "#baf16b",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 107
  },
  "hsl": {
    "h": 84.627,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89311,
    "c": 0.17322,
    "h": 128.1
  },
  "luminance": 0.74411
}

Semantic roles & 50–950 ramp

primary
#BAF16B
secondary
#7337CA
accent
#06DF5F
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF16B

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

Preview Lab → · Contrast checker → · Palette generator →

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