#BAF570#BAF570

#BAF570 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.3% C 0.174 H 129.3°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#BAF570
RGBrgb(186, 245, 112)
HSLhsl(87, 87%, 70%)
HSVhsv(87, 54%, 96%)
CMYKcmyk(24.1%, 0%, 54.3%, 3.9%)
CIE-LABlab(90.28, -39.38, 57.24)
CIE-LCHlch(90.28, 69.47, 124.53°)
OKLaboklab(90.27% -0.1102 0.1348)
OKLCHoklch(90.27% 0.174 129.3)
XYZxyz(55.8263, 76.9126, 27.2305)
Luminance0.7691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF570 #AB70F5
analogous
#F5EE70 #BAF570 #77F570
triadic
#BAF570 #70BAF5 #F570BA
tetradic
#BAF570 #70F5EE #AB70F5 #F57077
square
#BAF570 #70F5EE #AB70F5 #F57077
split-complementary
#BAF570 #7077F5 #EE70F5
monochromatic
#81DB0F #9EF137 #BAF570 #D6F9A9 #F1FDE2

Accessibility & contrast

On white

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

On black

16.38
#BAF570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF570
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF570#FFFFFF#000000##000000
##BAF5701.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#BEECD7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf570;
/* rgb */ color: rgb(186, 245, 112);
/* oklch */ color: oklch(90.3% 0.174 129.3);
Tailwind
colors: {
  custom: {
    50: '#d1f89d',
    500: '#baf570',
    950: '#000000',
  },
}
SCSS
$custom: #baf570;
$custom-light: #d1f89d;
$custom-dark: #000000;
JSON
{
  "hex": "#baf570",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 112
  },
  "hsl": {
    "h": 86.617,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.9027,
    "c": 0.17415,
    "h": 129.3
  },
  "luminance": 0.76914
}

Semantic roles & 50–950 ramp

primary
#BAF570
secondary
#7C3ACF
accent
#02E366
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF570

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

Preview Lab → · Contrast checker → · Palette generator →

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