#BAF57D#BAF57D

#BAF57D is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.4% C 0.162 H 130.6°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#BAF57D
RGBrgb(186, 245, 125)
HSLhsl(90, 86%, 73%)
HSVhsv(90, 49%, 96%)
CMYKcmyk(24.1%, 0%, 49%, 3.9%)
CIE-LABlab(90.42, -38.06, 51.46)
CIE-LCHlch(90.42, 64.01, 126.48°)
OKLaboklab(90.43% -0.1056 0.1232)
OKLCHoklch(90.43% 0.162 130.6)
XYZxyz(56.6031, 77.2233, 31.3215)
Luminance0.7722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF57D #B87DF5
analogous
#F5F47D #BAF57D #7EF57D
triadic
#BAF57D #7DBAF5 #F57DBA
tetradic
#BAF57D #7DF5F4 #B87DF5 #F57D7E
square
#BAF57D #7DF5F4 #B87DF5 #F57D7E
split-complementary
#BAF57D #7D7EF5 #F47DF5
monochromatic
#7EE612 #9CF144 #BAF57D #D8F9B6 #F0FDE3

Accessibility & contrast

On white

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

On black

16.45
#BAF57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF57D
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF57D#FFFFFF#000000##000000
##BAF57D1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE673
Deuteranopia (green-blind)
#F6E284
Tritanopia (blue-blind)
#BDECD9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf57d;
/* rgb */ color: rgb(186, 245, 125);
/* oklch */ color: oklch(90.4% 0.162 130.6);
Tailwind
colors: {
  custom: {
    50: '#d1f8a5',
    500: '#baf57d',
    950: '#000000',
  },
}
SCSS
$custom: #baf57d;
$custom-light: #d1f8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#baf57d",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 89.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90431,
    "c": 0.16228,
    "h": 130.6
  },
  "luminance": 0.77225
}

Semantic roles & 50–950 ramp

primary
#BAF57D
secondary
#8A46D1
accent
#03E271
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF57D

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

Preview Lab → · Contrast checker → · Palette generator →

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