#BAF37E#BAF37E

#BAF37E is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 90.0% C 0.159 H 130.4°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#BAF37E
RGBrgb(186, 243, 126)
HSLhsl(89, 83%, 72%)
HSVhsv(89, 48%, 95%)
CMYKcmyk(23.5%, 0%, 48.1%, 4.7%)
CIE-LABlab(89.88, -37.05, 50.33)
CIE-LCHlch(89.88, 62.50, 126.36°)
OKLaboklab(90% -0.1028 0.1208)
OKLCHoklch(90% 0.159 130.4)
XYZxyz(56.0655, 76.0454, 31.4590)
Luminance0.7605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF37E #B77EF3
analogous
#F3F27E #BAF37E #7FF37E
triadic
#BAF37E #7EBAF3 #F37EBA
tetradic
#BAF37E #7EF3F2 #B77EF3 #F37E7F
square
#BAF37E #7EF3F2 #B77EF3 #F37E7F
split-complementary
#BAF37E #7E7FF3 #F27EF3
monochromatic
#7EE215 #9CEE46 #BAF37E #D8F8B6 #F0FCE3

Accessibility & contrast

On white

1.30
#BAF37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#BAF37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF37E
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF37E#FFFFFF#000000##000000
##BAF37E1.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE574
Deuteranopia (green-blind)
#F4E185
Tritanopia (blue-blind)
#BDEAD8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf37e;
/* rgb */ color: rgb(186, 243, 126);
/* oklch */ color: oklch(90.0% 0.159 130.4);
Tailwind
colors: {
  custom: {
    50: '#d1f7a6',
    500: '#baf37e',
    950: '#000000',
  },
}
SCSS
$custom: #baf37e;
$custom-light: #d1f7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf37e",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 126
  },
  "hsl": {
    "h": 89.231,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89996,
    "c": 0.15856,
    "h": 130.4
  },
  "luminance": 0.76047
}

Semantic roles & 50–950 ramp

primary
#BAF37E
secondary
#8947CE
accent
#06DF70
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF37E

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

Preview Lab → · Contrast checker → · Palette generator →

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