#BAF782#BAF782

#BAF782 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.9% C 0.160 H 131.5°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#BAF782
RGBrgb(186, 247, 130)
HSLhsl(91, 88%, 74%)
HSVhsv(91, 47%, 97%)
CMYKcmyk(24.7%, 0%, 47.4%, 3.1%)
CIE-LABlab(91.04, -38.41, 49.87)
CIE-LCHlch(91.04, 62.95, 127.60°)
OKLaboklab(90.95% -0.1063 0.12)
OKLCHoklch(90.95% 0.16 131.5)
XYZxyz(57.5389, 78.5709, 33.2490)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF782 #BF82F7
analogous
#F5F782 #BAF782 #82F785
triadic
#BAF782 #82BAF7 #F782BA
tetradic
#BAF782 #82F5F7 #BF82F7 #F78582
square
#BAF782 #82F5F7 #BF82F7 #F78582
split-complementary
#BAF782 #8582F7 #F782F5
monochromatic
#7BEF0F #9AF348 #BAF782 #DAFBBC #EFFDE2

Accessibility & contrast

On white

1.26
#BAF782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#BAF782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF782
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF782#FFFFFF#000000##000000
##BAF7821.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE878
Deuteranopia (green-blind)
#F7E489
Tritanopia (blue-blind)
#BCEFDC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf782;
/* rgb */ color: rgb(186, 247, 130);
/* oklch */ color: oklch(90.9% 0.160 131.5);
Tailwind
colors: {
  custom: {
    50: '#d1faa8',
    500: '#baf782',
    950: '#000000',
  },
}
SCSS
$custom: #baf782;
$custom-light: #d1faa8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf782",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 130
  },
  "hsl": {
    "h": 91.282,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90948,
    "c": 0.16027,
    "h": 131.5
  },
  "luminance": 0.78572
}

Semantic roles & 50–950 ramp

primary
#BAF782
secondary
#9249D4
accent
#01E578
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF782

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

Preview Lab → · Contrast checker → · Palette generator →

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