#BAF571#BAF571

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

Color values

HEX#BAF571
RGBrgb(186, 245, 113)
HSLhsl(87, 87%, 70%)
HSVhsv(87, 54%, 96%)
CMYKcmyk(24.1%, 0%, 53.9%, 3.9%)
CIE-LABlab(90.29, -39.28, 56.80)
CIE-LCHlch(90.29, 69.06, 124.67°)
OKLaboklab(90.28% -0.1099 0.134)
OKLCHoklch(90.28% 0.173 129.4)
XYZxyz(55.8823, 76.9350, 27.5253)
Luminance0.7694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF571 #AC71F5
analogous
#F5EE71 #BAF571 #78F571
triadic
#BAF571 #71BAF5 #F571BA
tetradic
#BAF571 #71F5EE #AC71F5 #F57178
square
#BAF571 #71F5EE #AC71F5 #F57178
split-complementary
#BAF571 #7178F5 #EE71F5
monochromatic
#81DC10 #9EF138 #BAF571 #D6F9AA #F1FDE2

Accessibility & contrast

On white

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

On black

16.39
#BAF571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF571
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF571#FFFFFF#000000##000000
##BAF5711.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf571;
/* rgb */ color: rgb(186, 245, 113);
/* oklch */ color: oklch(90.3% 0.173 129.4);
Tailwind
colors: {
  custom: {
    50: '#d1f89d',
    500: '#baf571',
    950: '#000000',
  },
}
SCSS
$custom: #baf571;
$custom-light: #d1f89d;
$custom-dark: #000000;
JSON
{
  "hex": "#baf571",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 86.818,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90281,
    "c": 0.17327,
    "h": 129.4
  },
  "luminance": 0.76936
}

Semantic roles & 50–950 ramp

primary
#BAF571
secondary
#7D3BCF
accent
#02E367
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF571

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

Preview Lab → · Contrast checker → · Palette generator →

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