#BAF880#BAF880

#BAF880 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.1% C 0.164 H 131.4°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#BAF880
RGBrgb(186, 248, 128)
HSLhsl(91, 90%, 74%)
HSVhsv(91, 48%, 97%)
CMYKcmyk(25%, 0%, 48.4%, 2.7%)
CIE-LABlab(91.29, -39.08, 51.12)
CIE-LCHlch(91.29, 64.34, 127.39°)
OKLaboklab(91.15% -0.1082 0.1226)
OKLCHoklch(91.15% 0.164 131.4)
XYZxyz(57.7126, 79.1310, 32.6510)
Luminance0.7913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF880 #BE80F8
analogous
#F6F880 #BAF880 #80F882
triadic
#BAF880 #80BAF8 #F880BA
tetradic
#BAF880 #80F6F8 #BE80F8 #F88280
square
#BAF880 #80F6F8 #BE80F8 #F88280
split-complementary
#BAF880 #8280F8 #F880F6
monochromatic
#7BF00D #9AF546 #BAF880 #DAFBBA #EFFDE2

Accessibility & contrast

On white

1.25
#BAF880 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#BAF880 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF880
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF880#FFFFFF#000000##000000
##BAF8801.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE976
Deuteranopia (green-blind)
#F8E487
Tritanopia (blue-blind)
#BCEFDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf880;
/* rgb */ color: rgb(186, 248, 128);
/* oklch */ color: oklch(91.1% 0.164 131.4);
Tailwind
colors: {
  custom: {
    50: '#d1fba7',
    500: '#baf880',
    950: '#000000',
  },
}
SCSS
$custom: #baf880;
$custom-light: #d1fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf880",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 128
  },
  "hsl": {
    "h": 91,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91146,
    "c": 0.16357,
    "h": 131.4
  },
  "luminance": 0.79132
}

Semantic roles & 50–950 ramp

primary
#BAF880
secondary
#9047D5
accent
#00E677
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF880

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

Preview Lab → · Contrast checker → · Palette generator →

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