#BAF25B#BAF25B

#BAF25B is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.4% C 0.187 H 127.2°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#BAF25B
RGBrgb(186, 242, 91)
HSLhsl(82, 85%, 65%)
HSVhsv(82, 62%, 95%)
CMYKcmyk(23.1%, 0%, 62.4%, 5.1%)
CIE-LABlab(89.25, -39.83, 65.05)
CIE-LCHlch(89.25, 76.28, 121.48°)
OKLaboklab(89.37% -0.1132 0.1494)
OKLCHoklch(89.37% 0.187 127.2)
XYZxyz(53.8902, 74.6978, 21.4744)
Luminance0.7470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF25B #935BF2
analogous
#F2DF5B #BAF25B #6EF25B
triadic
#BAF25B #5BBAF2 #F25BBA
tetradic
#BAF25B #5BF2DF #935BF2 #F25B6E
square
#BAF25B #5BF2DF #935BF2 #F25B6E
split-complementary
#BAF25B #5B6EF2 #DF5BF2
monochromatic
#81C30F #A2EE22 #BAF25B #D2F694 #EAFBCC

Accessibility & contrast

On white

1.32
#BAF25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.94
#BAF25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF25B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF25B#FFFFFF#000000##000000
##BAF25B1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE348
Deuteranopia (green-blind)
#F6DF66
Tritanopia (blue-blind)
#C0E8D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf25b;
/* rgb */ color: rgb(186, 242, 91);
/* oklch */ color: oklch(89.4% 0.187 127.2);
Tailwind
colors: {
  custom: {
    50: '#d2f68f',
    500: '#baf25b',
    950: '#000000',
  },
}
SCSS
$custom: #baf25b;
$custom-light: #d2f68f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf25b",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 91
  },
  "hsl": {
    "h": 82.252,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89374,
    "c": 0.18741,
    "h": 127.2
  },
  "luminance": 0.74699
}

Semantic roles & 50–950 ramp

primary
#BAF25B
secondary
#6631C1
accent
#04E256
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF25B

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

Preview Lab → · Contrast checker → · Palette generator →

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