#BAF281#BAF281

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

Color values

HEX#BAF281
RGBrgb(186, 242, 129)
HSLhsl(90, 81%, 73%)
HSVhsv(90, 47%, 95%)
CMYKcmyk(23.1%, 0%, 46.7%, 5.1%)
CIE-LABlab(89.64, -36.27, 48.62)
CIE-LCHlch(89.64, 60.66, 126.72°)
OKLaboklab(89.81% -0.1004 0.1171)
OKLCHoklch(89.81% 0.154 130.6)
XYZxyz(55.9636, 75.5271, 32.3943)
Luminance0.7553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF281 #B981F2
analogous
#F2F281 #BAF281 #81F281
triadic
#BAF281 #81BAF2 #F281BA
tetradic
#BAF281 #81F2F2 #B981F2 #F28181
square
#BAF281 #81F2F2 #B981F2 #F28181
split-complementary
#BAF281 #8181F2 #F281F2
monochromatic
#7DE117 #9CEC4A #BAF281 #D8F8B8 #F0FCE3

Accessibility & contrast

On white

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

On black

16.11
#BAF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF281
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF281#FFFFFF#000000##000000
##BAF2811.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf281;
/* rgb */ color: rgb(186, 242, 129);
/* oklch */ color: oklch(89.8% 0.154 130.6);
Tailwind
colors: {
  custom: {
    50: '#d1f6a7',
    500: '#baf281',
    950: '#000000',
  },
}
SCSS
$custom: #baf281;
$custom-light: #d1f6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf281",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 89.735,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89813,
    "c": 0.15426,
    "h": 130.6
  },
  "luminance": 0.75528
}

Semantic roles & 50–950 ramp

primary
#BAF281
secondary
#8B4ACD
accent
#08DE72
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF281

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

Preview Lab → · Contrast checker → · Palette generator →

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