#BAF57F#BAF57F

#BAF57F is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.5% C 0.160 H 130.8°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#BAF57F
RGBrgb(186, 245, 127)
HSLhsl(90, 86%, 73%)
HSVhsv(90, 48%, 96%)
CMYKcmyk(24.1%, 0%, 48.2%, 3.9%)
CIE-LABlab(90.45, -37.84, 50.56)
CIE-LCHlch(90.45, 63.15, 126.81°)
OKLaboklab(90.46% -0.1049 0.1213)
OKLCHoklch(90.46% 0.16 130.8)
XYZxyz(56.7321, 77.2749, 32.0011)
Luminance0.7728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF57F #BA7FF5
analogous
#F5F57F #BAF57F #7FF57F
triadic
#BAF57F #7FBAF5 #F57FBA
tetradic
#BAF57F #7FF5F5 #BA7FF5 #F57F7F
square
#BAF57F #7FF5F5 #BA7FF5 #F57F7F
split-complementary
#BAF57F #7F7FF5 #F57FF5
monochromatic
#7DE812 #9BF146 #BAF57F #D9F9B8 #F0FDE3

Accessibility & contrast

On white

1.28
#BAF57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#BAF57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF57F
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF57F#FFFFFF#000000##000000
##BAF57F1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE775
Deuteranopia (green-blind)
#F6E286
Tritanopia (blue-blind)
#BDECDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf57f;
/* rgb */ color: rgb(186, 245, 127);
/* oklch */ color: oklch(90.5% 0.160 130.8);
Tailwind
colors: {
  custom: {
    50: '#d1f8a6',
    500: '#baf57f',
    950: '#000000',
  },
}
SCSS
$custom: #baf57f;
$custom-light: #d1f8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf57f",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 127
  },
  "hsl": {
    "h": 90,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90458,
    "c": 0.16038,
    "h": 130.8
  },
  "luminance": 0.77276
}

Semantic roles & 50–950 ramp

primary
#BAF57F
secondary
#8C47D1
accent
#03E273
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF57F

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

Preview Lab → · Contrast checker → · Palette generator →

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