#BAF780#BAF780

#BAF780 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 90.9% C 0.162 H 131.3°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#BAF780
RGBrgb(186, 247, 128)
HSLhsl(91, 88%, 74%)
HSVhsv(91, 48%, 97%)
CMYKcmyk(24.7%, 0%, 48.2%, 3.1%)
CIE-LABlab(91.02, -38.63, 50.78)
CIE-LCHlch(91.02, 63.80, 127.26°)
OKLaboklab(90.92% -0.107 0.1219)
OKLCHoklch(90.92% 0.162 131.3)
XYZxyz(57.4059, 78.5177, 32.5488)
Luminance0.7852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF780 #BD80F7
analogous
#F6F780 #BAF780 #80F781
triadic
#BAF780 #80BAF7 #F780BA
tetradic
#BAF780 #80F6F7 #BD80F7 #F78180
square
#BAF780 #80F6F7 #BD80F7 #F78180
split-complementary
#BAF780 #8180F7 #F780F6
monochromatic
#7BEE0F #9BF346 #BAF780 #D9FBBA #EFFDE2

Accessibility & contrast

On white

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

On black

16.70
#BAF780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF780
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF780#FFFFFF#000000##000000
##BAF7801.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE876
Deuteranopia (green-blind)
#F7E487
Tritanopia (blue-blind)
#BDEFDB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf780;
/* rgb */ color: rgb(186, 247, 128);
/* oklch */ color: oklch(90.9% 0.162 131.3);
Tailwind
colors: {
  custom: {
    50: '#d1faa7',
    500: '#baf780',
    950: '#000000',
  },
}
SCSS
$custom: #baf780;
$custom-light: #d1faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf780",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 128
  },
  "hsl": {
    "h": 90.756,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90921,
    "c": 0.16219,
    "h": 131.3
  },
  "luminance": 0.78519
}

Semantic roles & 50–950 ramp

primary
#BAF780
secondary
#8F48D4
accent
#01E576
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF780

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

Preview Lab → · Contrast checker → · Palette generator →

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