#BAFB7D#BAFB7D

#BAFB7D is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 91.8% C 0.170 H 131.5°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#BAFB7D
RGBrgb(186, 251, 125)
HSLhsl(91, 94%, 74%)
HSVhsv(91, 50%, 98%)
CMYKcmyk(25.9%, 0%, 50.2%, 1.6%)
CIE-LABlab(92.09, -40.73, 53.48)
CIE-LCHlch(92.09, 67.23, 127.29°)
OKLaboklab(91.78% -0.113 0.1276)
OKLCHoklch(91.78% 0.17 131.5)
XYZxyz(58.4477, 80.9126, 31.9363)
Luminance0.8091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFB7D #BE7DFB
analogous
#F9FB7D #BAFB7D #7DFB7F
triadic
#BAFB7D #7DBAFB #FB7DBA
tetradic
#BAFB7D #7DF9FB #BE7DFB #FB7F7D
square
#BAFB7D #7DF9FB #BE7DFB #FB7F7D
split-complementary
#BAFB7D #7F7DFB #FB7DF9
monochromatic
#7BF608 #9AF942 #BAFB7D #DAFDB8 #EFFEE1

Accessibility & contrast

On white

1.22
#BAFB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#BAFB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFB7D
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFB7D#FFFFFF#000000##000000
##BAFB7D1.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC72
Deuteranopia (green-blind)
#FBE785
Tritanopia (blue-blind)
#BCF2DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafb7d;
/* rgb */ color: rgb(186, 251, 125);
/* oklch */ color: oklch(91.8% 0.170 131.5);
Tailwind
colors: {
  custom: {
    50: '#d1fda5',
    500: '#bafb7d',
    950: '#000000',
  },
}
SCSS
$custom: #bafb7d;
$custom-light: #d1fda5;
$custom-dark: #000000;
JSON
{
  "hex": "#bafb7d",
  "rgb": {
    "r": 186,
    "g": 251,
    "b": 125
  },
  "hsl": {
    "h": 90.952,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91781,
    "c": 0.17049,
    "h": 131.5
  },
  "luminance": 0.80914
}

Semantic roles & 50–950 ramp

primary
#BAFB7D
secondary
#9044D8
accent
#00E676
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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