#BAF87C#BAF87C

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

Color values

HEX#BAF87C
RGBrgb(186, 248, 124)
HSLhsl(90, 90%, 73%)
HSVhsv(90, 50%, 97%)
CMYKcmyk(25%, 0%, 50%, 2.7%)
CIE-LABlab(91.25, -39.51, 52.92)
CIE-LCHlch(91.25, 66.04, 126.74°)
OKLaboklab(91.09% -0.1097 0.1264)
OKLCHoklch(91.09% 0.167 131)
XYZxyz(57.4545, 79.0277, 31.2917)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF87C #BA7CF8
analogous
#F8F87C #BAF87C #7CF87C
triadic
#BAF87C #7CBAF8 #F87CBA
tetradic
#BAF87C #7CF8F8 #BA7CF8 #F87C7C
square
#BAF87C #7CF8F8 #BA7CF8 #F87C7C
split-complementary
#BAF87C #7C7CF8 #F87CF8
monochromatic
#7DED0D #9BF542 #BAF87C #D9FBB6 #F0FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF87C#FFFFFF#000000##000000
##BAF87C1.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)
#FFE971
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#BDEFDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf87c;
/* rgb */ color: rgb(186, 248, 124);
/* oklch */ color: oklch(91.1% 0.167 131.0);
Tailwind
colors: {
  custom: {
    50: '#d1fba4',
    500: '#baf87c',
    950: '#000000',
  },
}
SCSS
$custom: #baf87c;
$custom-light: #d1fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#baf87c",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 90,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91093,
    "c": 0.16733,
    "h": 131
  },
  "luminance": 0.79029
}

Semantic roles & 50–950 ramp

primary
#BAF87C
secondary
#8C44D4
accent
#00E673
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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