#BAF778#BAF778

#BAF778 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 90.8% C 0.170 H 130.4°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#BAF778
RGBrgb(186, 247, 120)
HSLhsl(89, 89%, 72%)
HSVhsv(89, 51%, 97%)
CMYKcmyk(24.7%, 0%, 51.4%, 3.1%)
CIE-LABlab(90.92, -39.48, 54.38)
CIE-LCHlch(90.92, 67.20, 125.98°)
OKLaboklab(90.82% -0.1099 0.1292)
OKLCHoklch(90.82% 0.17 130.4)
XYZxyz(56.9000, 78.3154, 29.8842)
Luminance0.7832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF778 #B578F7
analogous
#F7F578 #BAF778 #7BF778
triadic
#BAF778 #78BAF7 #F778BA
tetradic
#BAF778 #78F7F5 #B578F7 #F7787B
square
#BAF778 #78F7F5 #B578F7 #F7787B
split-complementary
#BAF778 #787BF7 #F578F7
monochromatic
#7FE70E #9CF43E #BAF778 #D8FAB2 #F0FDE2

Accessibility & contrast

On white

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

On black

16.66
#BAF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF778
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF778#FFFFFF#000000##000000
##BAF7781.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86C
Deuteranopia (green-blind)
#F8E380
Tritanopia (blue-blind)
#BDEEDA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf778;
/* rgb */ color: rgb(186, 247, 120);
/* oklch */ color: oklch(90.8% 0.170 130.4);
Tailwind
colors: {
  custom: {
    50: '#d1faa2',
    500: '#baf778',
    950: '#000000',
  },
}
SCSS
$custom: #baf778;
$custom-light: #d1faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#baf778",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 88.819,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90817,
    "c": 0.16966,
    "h": 130.4
  },
  "luminance": 0.78317
}

Semantic roles & 50–950 ramp

primary
#BAF778
secondary
#8741D3
accent
#00E56E
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF778

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

Preview Lab → · Contrast checker → · Palette generator →

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