#BAF56B#BAF56B

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

Color values

HEX#BAF56B
RGBrgb(186, 245, 107)
HSLhsl(86, 87%, 69%)
HSVhsv(86, 56%, 96%)
CMYKcmyk(24.1%, 0%, 56.3%, 3.9%)
CIE-LABlab(90.23, -39.84, 59.39)
CIE-LCHlch(90.23, 71.51, 123.85°)
OKLaboklab(90.21% -0.1119 0.139)
OKLCHoklch(90.21% 0.178 128.8)
XYZxyz(55.5556, 76.8043, 25.8048)
Luminance0.7681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF56B #A66BF5
analogous
#F5EB6B #BAF56B #75F56B
triadic
#BAF56B #6BBAF5 #F56BBA
tetradic
#BAF56B #6BF5EB #A66BF5 #F56B75
square
#BAF56B #6BF5EB #A66BF5 #F56B75
split-complementary
#BAF56B #6B75F5 #EB6BF5
monochromatic
#81D70F #9FF132 #BAF56B #D5F9A4 #EFFDDE

Accessibility & contrast

On white

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

On black

16.36
#BAF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF56B
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF56B#FFFFFF#000000##000000
##BAF56B1.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf56b;
/* rgb */ color: rgb(186, 245, 107);
/* oklch */ color: oklch(90.2% 0.178 128.8);
Tailwind
colors: {
  custom: {
    50: '#d2f899',
    500: '#baf56b',
    950: '#000000',
  },
}
SCSS
$custom: #baf56b;
$custom-light: #d2f899;
$custom-dark: #000000;
JSON
{
  "hex": "#baf56b",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 85.652,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90213,
    "c": 0.17846,
    "h": 128.8
  },
  "luminance": 0.76805
}

Semantic roles & 50–950 ramp

primary
#BAF56B
secondary
#7736CE
accent
#02E462
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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