#BAFF52#BAFF52

#BAFF52 is a very light, highly saturated yellow-green. Relative luminance 0.826; OKLCH L 92.3% C 0.210 H 128.8°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#BAFF52
RGBrgb(186, 255, 82)
HSLhsl(84, 100%, 66%)
HSVhsv(84, 68%, 100%)
CMYKcmyk(27.1%, 0%, 67.8%, 0%)
CIE-LABlab(92.82, -46.12, 72.28)
CIE-LCHlch(92.82, 85.74, 122.54°)
OKLaboklab(92.25% -0.1312 0.1634)
OKLCHoklch(92.25% 0.21 128.8)
XYZxyz(57.5325, 82.5669, 20.8868)
Luminance0.8257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFF52 #9752FF
analogous
#FFEE52 #BAFF52 #63FF52
triadic
#BAFF52 #52BAFF #FF52BA
tetradic
#BAFF52 #52FFEE #9752FF #FF5263
square
#BAFF52 #52FFEE #9752FF #FF5263
split-complementary
#BAFF52 #5263FF #EE52FF
monochromatic
#81D700 #A2FF15 #BAFF52 #D2FF8F #EBFFCC

Accessibility & contrast

On white

1.20
#BAFF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#BAFF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFF52
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFF52#FFFFFF#000000##000000
##BAFF521.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED37
Deuteranopia (green-blind)
#FFE961
Tritanopia (blue-blind)
#C0F4DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #baff52;
/* rgb */ color: rgb(186, 255, 82);
/* oklch */ color: oklch(92.3% 0.210 128.8);
Tailwind
colors: {
  custom: {
    50: '#d3ff8b',
    500: '#baff52',
    950: '#000000',
  },
}
SCSS
$custom: #baff52;
$custom-light: #d3ff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#baff52",
  "rgb": {
    "r": 186,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 83.931,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.9225,
    "c": 0.20958,
    "h": 128.8
  },
  "luminance": 0.82568
}

Semantic roles & 50–950 ramp

primary
#BAFF52
secondary
#6925D0
accent
#00E65C
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#15180D
muted
#84867F

Preview Lab

Preview with #BAFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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