#BAF37C#BAF37C

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

Color values

HEX#BAF37C
RGBrgb(186, 243, 124)
HSLhsl(89, 83%, 72%)
HSVhsv(89, 49%, 95%)
CMYKcmyk(23.5%, 0%, 49%, 4.7%)
CIE-LABlab(89.86, -37.27, 51.24)
CIE-LCHlch(89.86, 63.36, 126.03°)
OKLaboklab(89.97% -0.1035 0.1226)
OKLCHoklch(89.97% 0.16 130.2)
XYZxyz(55.9377, 75.9943, 30.7861)
Luminance0.7600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF37C #B57CF3
analogous
#F3F07C #BAF37C #7FF37C
triadic
#BAF37C #7CBAF3 #F37CBA
tetradic
#BAF37C #7CF3F0 #B57CF3 #F37C7F
square
#BAF37C #7CF3F0 #B57CF3 #F37C7F
split-complementary
#BAF37C #7C7FF3 #F07CF3
monochromatic
#7FE015 #9CEE44 #BAF37C #D8F8B4 #F0FCE3

Accessibility & contrast

On white

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

On black

16.20
#BAF37C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF37C
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF37C#FFFFFF#000000##000000
##BAF37C1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf37c;
/* rgb */ color: rgb(186, 243, 124);
/* oklch */ color: oklch(90.0% 0.160 130.2);
Tailwind
colors: {
  custom: {
    50: '#d1f7a4',
    500: '#baf37c',
    950: '#000000',
  },
}
SCSS
$custom: #baf37c;
$custom-light: #d1f7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#baf37c",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 124
  },
  "hsl": {
    "h": 88.739,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89969,
    "c": 0.16047,
    "h": 130.2
  },
  "luminance": 0.75996
}

Semantic roles & 50–950 ramp

primary
#BAF37C
secondary
#8745CE
accent
#06E06E
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF37C

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

Preview Lab → · Contrast checker → · Palette generator →

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