#BAF280#BAF280

#BAF280 is a very light, vivid yellow-green. Relative luminance 0.755; OKLCH L 89.8% C 0.155 H 130.5°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#BAF280
RGBrgb(186, 242, 128)
HSLhsl(89, 81%, 73%)
HSVhsv(89, 47%, 95%)
CMYKcmyk(23.1%, 0%, 47.1%, 5.1%)
CIE-LABlab(89.63, -36.38, 49.08)
CIE-LCHlch(89.63, 61.09, 126.55°)
OKLaboklab(89.8% -0.1008 0.1181)
OKLCHoklch(89.8% 0.155 130.5)
XYZxyz(55.8974, 75.5007, 32.0460)
Luminance0.7550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF280 #B880F2
analogous
#F2F180 #BAF280 #81F280
triadic
#BAF280 #80BAF2 #F280BA
tetradic
#BAF280 #80F2F1 #B880F2 #F28081
square
#BAF280 #80F2F1 #B880F2 #F28081
split-complementary
#BAF280 #8081F2 #F180F2
monochromatic
#7EE117 #9CEC48 #BAF280 #D8F8B8 #F0FCE3

Accessibility & contrast

On white

1.30
#BAF280 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#BAF280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF280
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF280#FFFFFF#000000##000000
##BAF2801.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE476
Deuteranopia (green-blind)
#F3E087
Tritanopia (blue-blind)
#BDEAD7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #baf280;
/* rgb */ color: rgb(186, 242, 128);
/* oklch */ color: oklch(89.8% 0.155 130.5);
Tailwind
colors: {
  custom: {
    50: '#d1f6a7',
    500: '#baf280',
    950: '#000000',
  },
}
SCSS
$custom: #baf280;
$custom-light: #d1f6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf280",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 89.474,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89799,
    "c": 0.15524,
    "h": 130.5
  },
  "luminance": 0.75502
}

Semantic roles & 50–950 ramp

primary
#BAF280
secondary
#8A49CD
accent
#08DE71
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF280

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

Preview Lab → · Contrast checker → · Palette generator →

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