#BAF56F#BAF56F

#BAF56F is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.3% C 0.175 H 129.2°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#BAF56F
RGBrgb(186, 245, 111)
HSLhsl(86, 87%, 70%)
HSVhsv(86, 55%, 96%)
CMYKcmyk(24.1%, 0%, 54.7%, 3.9%)
CIE-LABlab(90.27, -39.47, 57.67)
CIE-LCHlch(90.27, 69.88, 124.39°)
OKLaboklab(90.26% -0.1106 0.1357)
OKLCHoklch(90.26% 0.175 129.2)
XYZxyz(55.7709, 76.8904, 26.9389)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF56F #AA6FF5
analogous
#F5ED6F #BAF56F #77F56F
triadic
#BAF56F #6FBAF5 #F56FBA
tetradic
#BAF56F #6FF5ED #AA6FF5 #F56F77
square
#BAF56F #6FF5ED #AA6FF5 #F56F77
split-complementary
#BAF56F #6F77F5 #ED6FF5
monochromatic
#81DA0F #9FF136 #BAF56F #D5F9A8 #F1FDE1

Accessibility & contrast

On white

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

On black

16.38
#BAF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF56F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF56F#FFFFFF#000000##000000
##BAF56F1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE662
Deuteranopia (green-blind)
#F7E278
Tritanopia (blue-blind)
#BFECD7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf56f;
/* rgb */ color: rgb(186, 245, 111);
/* oklch */ color: oklch(90.3% 0.175 129.2);
Tailwind
colors: {
  custom: {
    50: '#d1f89c',
    500: '#baf56f',
    950: '#000000',
  },
}
SCSS
$custom: #baf56f;
$custom-light: #d1f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#baf56f",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 86.418,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90258,
    "c": 0.17502,
    "h": 129.2
  },
  "luminance": 0.76892
}

Semantic roles & 50–950 ramp

primary
#BAF56F
secondary
#7B39CF
accent
#02E465
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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