#BAFB72#BAFB72

#BAFB72 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.6% C 0.180 H 130.4°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#BAFB72
RGBrgb(186, 251, 114)
HSLhsl(88, 94%, 72%)
HSVhsv(88, 55%, 98%)
CMYKcmyk(25.9%, 0%, 54.6%, 1.6%)
CIE-LABlab(91.97, -41.84, 58.32)
CIE-LCHlch(91.97, 71.77, 125.65°)
OKLaboklab(91.65% -0.1169 0.1373)
OKLCHoklch(91.65% 0.18 130.4)
XYZxyz(57.7836, 80.6469, 28.4383)
Luminance0.8065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFB72 #B372FB
analogous
#FBF772 #BAFB72 #76FB72
triadic
#BAFB72 #72BAFB #FB72BA
tetradic
#BAFB72 #72FBF7 #B372FB #FB7276
square
#BAFB72 #72FBF7 #B372FB #FB7276
split-complementary
#BAFB72 #7276FB #F772FB
monochromatic
#7FEC07 #9DF936 #BAFB72 #D7FDAE #F0FEE1

Accessibility & contrast

On white

1.23
#BAFB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#BAFB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFB72
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFB72#FFFFFF#000000##000000
##BAFB721.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FCE67B
Tritanopia (blue-blind)
#BEF2DD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafb72;
/* rgb */ color: rgb(186, 251, 114);
/* oklch */ color: oklch(91.6% 0.180 130.4);
Tailwind
colors: {
  custom: {
    50: '#d2fd9e',
    500: '#bafb72',
    950: '#000000',
  },
}
SCSS
$custom: #bafb72;
$custom-light: #d2fd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#bafb72",
  "rgb": {
    "r": 186,
    "g": 251,
    "b": 114
  },
  "hsl": {
    "h": 88.467,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91647,
    "c": 0.18035,
    "h": 130.4
  },
  "luminance": 0.80648
}

Semantic roles & 50–950 ramp

primary
#BAFB72
secondary
#853AD7
accent
#00E66D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFB72

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

Preview Lab → · Contrast checker → · Palette generator →

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