#BAF37D#BAF37D

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

Color values

HEX#BAF37D
RGBrgb(186, 243, 125)
HSLhsl(89, 83%, 72%)
HSVhsv(89, 49%, 95%)
CMYKcmyk(23.5%, 0%, 48.6%, 4.7%)
CIE-LABlab(89.87, -37.16, 50.79)
CIE-LCHlch(89.87, 62.93, 126.19°)
OKLaboklab(89.98% -0.1031 0.1217)
OKLCHoklch(89.98% 0.16 130.3)
XYZxyz(56.0013, 76.0197, 31.1209)
Luminance0.7602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF37D #B67DF3
analogous
#F3F17D #BAF37D #7FF37D
triadic
#BAF37D #7DBAF3 #F37DBA
tetradic
#BAF37D #7DF3F1 #B67DF3 #F37D7F
square
#BAF37D #7DF3F1 #B67DF3 #F37D7F
split-complementary
#BAF37D #7D7FF3 #F17DF3
monochromatic
#7EE115 #9CEE45 #BAF37D #D8F8B5 #F0FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF37D#FFFFFF#000000##000000
##BAF37D1.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)
#FCE573
Deuteranopia (green-blind)
#F4E184
Tritanopia (blue-blind)
#BDEAD8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf37d;
/* rgb */ color: rgb(186, 243, 125);
/* oklch */ color: oklch(90.0% 0.160 130.3);
Tailwind
colors: {
  custom: {
    50: '#d1f7a5',
    500: '#baf37d',
    950: '#000000',
  },
}
SCSS
$custom: #baf37d;
$custom-light: #d1f7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#baf37d",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 125
  },
  "hsl": {
    "h": 88.983,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89982,
    "c": 0.15952,
    "h": 130.3
  },
  "luminance": 0.76021
}

Semantic roles & 50–950 ramp

primary
#BAF37D
secondary
#8846CE
accent
#06E06F
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF37D

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

Preview Lab → · Contrast checker → · Palette generator →

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