#BAF575#BAF575

#BAF575 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.3% C 0.170 H 129.7°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#BAF575
RGBrgb(186, 245, 117)
HSLhsl(88, 86%, 71%)
HSVhsv(88, 52%, 96%)
CMYKcmyk(24.1%, 0%, 52.2%, 3.9%)
CIE-LABlab(90.33, -38.89, 55.04)
CIE-LCHlch(90.33, 67.40, 125.24°)
OKLaboklab(90.33% -0.1085 0.1305)
OKLCHoklch(90.33% 0.17 129.7)
XYZxyz(56.1125, 77.0270, 28.7375)
Luminance0.7703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF575 #B075F5
analogous
#F5F075 #BAF575 #7AF575
triadic
#BAF575 #75BAF5 #F575BA
tetradic
#BAF575 #75F5F0 #B075F5 #F5757A
square
#BAF575 #75F5F0 #B075F5 #F5757A
split-complementary
#BAF575 #757AF5 #F075F5
monochromatic
#80DF10 #9DF13C #BAF575 #D7F9AE #F1FDE2

Accessibility & contrast

On white

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

On black

16.41
#BAF575 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF575
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF575#FFFFFF#000000##000000
##BAF5751.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE669
Deuteranopia (green-blind)
#F6E27D
Tritanopia (blue-blind)
#BEECD8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf575;
/* rgb */ color: rgb(186, 245, 117);
/* oklch */ color: oklch(90.3% 0.170 129.7);
Tailwind
colors: {
  custom: {
    50: '#d1f8a0',
    500: '#baf575',
    950: '#000000',
  },
}
SCSS
$custom: #baf575;
$custom-light: #d1f8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf575",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 117
  },
  "hsl": {
    "h": 87.656,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90329,
    "c": 0.16969,
    "h": 129.7
  },
  "luminance": 0.77028
}

Semantic roles & 50–950 ramp

primary
#BAF575
secondary
#813FD0
accent
#02E36A
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF575

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

Preview Lab → · Contrast checker → · Palette generator →

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