#BAF282#BAF282

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

Color values

HEX#BAF282
RGBrgb(186, 242, 130)
HSLhsl(90, 81%, 73%)
HSVhsv(90, 46%, 95%)
CMYKcmyk(23.1%, 0%, 46.3%, 5.1%)
CIE-LABlab(89.65, -36.15, 48.16)
CIE-LCHlch(89.65, 60.22, 126.89°)
OKLaboklab(89.83% -0.1 0.1162)
OKLCHoklch(89.83% 0.153 130.7)
XYZxyz(56.0303, 75.5538, 32.7461)
Luminance0.7556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF282 #BA82F2
analogous
#F2F282 #BAF282 #82F282
triadic
#BAF282 #82BAF2 #F282BA
tetradic
#BAF282 #82F2F2 #BA82F2 #F28282
square
#BAF282 #82F2F2 #BA82F2 #F28282
split-complementary
#BAF282 #8282F2 #F282F2
monochromatic
#7DE218 #9BEC4B #BAF282 #D9F8B9 #F0FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF282#FFFFFF#000000##000000
##BAF2821.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)
#FBE479
Deuteranopia (green-blind)
#F3E089
Tritanopia (blue-blind)
#BDEAD8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #baf282;
/* rgb */ color: rgb(186, 242, 130);
/* oklch */ color: oklch(89.8% 0.153 130.7);
Tailwind
colors: {
  custom: {
    50: '#d1f6a8',
    500: '#baf282',
    950: '#000000',
  },
}
SCSS
$custom: #baf282;
$custom-light: #d1f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf282",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 90,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89827,
    "c": 0.15328,
    "h": 130.7
  },
  "luminance": 0.75555
}

Semantic roles & 50–950 ramp

primary
#BAF282
secondary
#8C4BCD
accent
#08DE73
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF282

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

Preview Lab → · Contrast checker → · Palette generator →

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