#BAF17E#BAF17E

#BAF17E is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.5% C 0.156 H 130.0°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#BAF17E
RGBrgb(186, 241, 126)
HSLhsl(89, 80%, 72%)
HSVhsv(89, 48%, 95%)
CMYKcmyk(22.8%, 0%, 47.7%, 5.5%)
CIE-LABlab(89.33, -36.15, 49.66)
CIE-LCHlch(89.33, 61.42, 126.05°)
OKLaboklab(89.55% -0.1002 0.1193)
OKLCHoklch(89.55% 0.156 130)
XYZxyz(55.4703, 74.8549, 31.2606)
Luminance0.7486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF17E #B57EF1
analogous
#F1EF7E #BAF17E #81F17E
triadic
#BAF17E #7EBAF1 #F17EBA
tetradic
#BAF17E #7EF1EF #B57EF1 #F17E81
square
#BAF17E #7EF1EF #B57EF1 #F17E81
split-complementary
#BAF17E #7E81F1 #EF7EF1
monochromatic
#7FDD18 #9CEB47 #BAF17E #D8F7B5 #F0FCE3

Accessibility & contrast

On white

1.31
#BAF17E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#BAF17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF17E
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF17E#FFFFFF#000000##000000
##BAF17E1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE374
Deuteranopia (green-blind)
#F2DF85
Tritanopia (blue-blind)
#BDE9D6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf17e;
/* rgb */ color: rgb(186, 241, 126);
/* oklch */ color: oklch(89.5% 0.156 130.0);
Tailwind
colors: {
  custom: {
    50: '#d1f6a5',
    500: '#baf17e',
    950: '#000000',
  },
}
SCSS
$custom: #baf17e;
$custom-light: #d1f6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#baf17e",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 126
  },
  "hsl": {
    "h": 88.696,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89547,
    "c": 0.15578,
    "h": 130
  },
  "luminance": 0.74856
}

Semantic roles & 50–950 ramp

primary
#BAF17E
secondary
#8748CC
accent
#09DD6E
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF17E

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

Preview Lab → · Contrast checker → · Palette generator →

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