#BAF87F#BAF87F

#BAF87F is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.1% C 0.165 H 131.3°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#BAF87F
RGBrgb(186, 248, 127)
HSLhsl(91, 90%, 74%)
HSVhsv(91, 49%, 97%)
CMYKcmyk(25%, 0%, 48.8%, 2.7%)
CIE-LABlab(91.28, -39.18, 51.57)
CIE-LCHlch(91.28, 64.77, 127.23°)
OKLaboklab(91.13% -0.1086 0.1236)
OKLCHoklch(91.13% 0.165 131.3)
XYZxyz(57.6471, 79.1048, 32.3061)
Luminance0.7911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF87F #BD7FF8
analogous
#F6F87F #BAF87F #7FF880
triadic
#BAF87F #7FBAF8 #F87FBA
tetradic
#BAF87F #7FF6F8 #BD7FF8 #F8807F
square
#BAF87F #7FF6F8 #BD7FF8 #F8807F
split-complementary
#BAF87F #807FF8 #F87FF6
monochromatic
#7BF00D #9BF545 #BAF87F #D9FBB9 #EFFDE2

Accessibility & contrast

On white

1.25
#BAF87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#BAF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF87F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF87F#FFFFFF#000000##000000
##BAF87F1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE974
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#BDEFDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf87f;
/* rgb */ color: rgb(186, 248, 127);
/* oklch */ color: oklch(91.1% 0.165 131.3);
Tailwind
colors: {
  custom: {
    50: '#d1fba6',
    500: '#baf87f',
    950: '#000000',
  },
}
SCSS
$custom: #baf87f;
$custom-light: #d1fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf87f",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 90.744,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91132,
    "c": 0.16452,
    "h": 131.3
  },
  "luminance": 0.79106
}

Semantic roles & 50–950 ramp

primary
#BAF87F
secondary
#8F46D5
accent
#00E676
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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