#BAF578#BAF578

#BAF578 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.4% C 0.167 H 130.1°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#BAF578
RGBrgb(186, 245, 120)
HSLhsl(88, 86%, 72%)
HSVhsv(88, 51%, 96%)
CMYKcmyk(24.1%, 0%, 51%, 3.9%)
CIE-LABlab(90.37, -38.59, 53.71)
CIE-LCHlch(90.37, 66.13, 125.69°)
OKLaboklab(90.37% -0.1074 0.1278)
OKLCHoklch(90.37% 0.167 130.1)
XYZxyz(56.2917, 77.0987, 29.6814)
Luminance0.7710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF578 #B378F5
analogous
#F5F278 #BAF578 #7CF578
triadic
#BAF578 #78BAF5 #F578BA
tetradic
#BAF578 #78F5F2 #B378F5 #F5787C
square
#BAF578 #78F5F2 #B378F5 #F5787C
split-complementary
#BAF578 #787CF5 #F278F5
monochromatic
#7FE211 #9DF13F #BAF578 #D7F9B1 #F0FDE3

Accessibility & contrast

On white

1.28
#BAF578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#BAF578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF578
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF578#FFFFFF#000000##000000
##BAF5781.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66D
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#BEECD9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf578;
/* rgb */ color: rgb(186, 245, 120);
/* oklch */ color: oklch(90.4% 0.167 130.1);
Tailwind
colors: {
  custom: {
    50: '#d1f8a2',
    500: '#baf578',
    950: '#000000',
  },
}
SCSS
$custom: #baf578;
$custom-light: #d1f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#baf578",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 120
  },
  "hsl": {
    "h": 88.32,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90367,
    "c": 0.16695,
    "h": 130.1
  },
  "luminance": 0.771
}

Semantic roles & 50–950 ramp

primary
#BAF578
secondary
#8541D0
accent
#03E36C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF578

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

Preview Lab → · Contrast checker → · Palette generator →

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