#BAF87D#BAF87D

#BAF87D is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.1% C 0.166 H 131.1°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#BAF87D
RGBrgb(186, 248, 125)
HSLhsl(90, 90%, 73%)
HSVhsv(90, 50%, 97%)
CMYKcmyk(25%, 0%, 49.6%, 2.7%)
CIE-LABlab(91.26, -39.40, 52.48)
CIE-LCHlch(91.26, 65.62, 126.90°)
OKLaboklab(91.11% -0.1093 0.1254)
OKLCHoklch(91.11% 0.166 131.1)
XYZxyz(57.5180, 79.0532, 31.6264)
Luminance0.7905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF87D #BB7DF8
analogous
#F7F87D #BAF87D #7DF87D
triadic
#BAF87D #7DBAF8 #F87DBA
tetradic
#BAF87D #7DF7F8 #BB7DF8 #F87D7D
square
#BAF87D #7DF7F8 #BB7DF8 #F87D7D
split-complementary
#BAF87D #7D7DF8 #F87DF7
monochromatic
#7CEE0D #9BF543 #BAF87D #D9FBB7 #F0FDE2

Accessibility & contrast

On white

1.25
#BAF87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#BAF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF87D
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF87D#FFFFFF#000000##000000
##BAF87D1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE972
Deuteranopia (green-blind)
#F8E485
Tritanopia (blue-blind)
#BDEFDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf87d;
/* rgb */ color: rgb(186, 248, 125);
/* oklch */ color: oklch(91.1% 0.166 131.1);
Tailwind
colors: {
  custom: {
    50: '#d1fba5',
    500: '#baf87d',
    950: '#000000',
  },
}
SCSS
$custom: #baf87d;
$custom-light: #d1fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#baf87d",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 90.244,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91106,
    "c": 0.1664,
    "h": 131.1
  },
  "luminance": 0.79055
}

Semantic roles & 50–950 ramp

primary
#BAF87D
secondary
#8D45D4
accent
#00E674
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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