#BAF573#BAF573

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

Color values

HEX#BAF573
RGBrgb(186, 245, 115)
HSLhsl(87, 87%, 71%)
HSVhsv(87, 53%, 96%)
CMYKcmyk(24.1%, 0%, 53.1%, 3.9%)
CIE-LABlab(90.31, -39.09, 55.93)
CIE-LCHlch(90.31, 68.23, 124.95°)
OKLaboklab(90.31% -0.1092 0.1322)
OKLCHoklch(90.31% 0.171 129.6)
XYZxyz(55.9961, 76.9805, 28.1249)
Luminance0.7698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF573 #AE73F5
analogous
#F5EF73 #BAF573 #79F573
triadic
#BAF573 #73BAF5 #F573BA
tetradic
#BAF573 #73F5EF #AE73F5 #F57379
square
#BAF573 #73F5EF #AE73F5 #F57379
split-complementary
#BAF573 #7379F5 #EF73F5
monochromatic
#80DE10 #9EF13A #BAF573 #D6F9AC #F1FDE2

Accessibility & contrast

On white

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

On black

16.40
#BAF573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF573
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF573#FFFFFF#000000##000000
##BAF5731.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf573;
/* rgb */ color: rgb(186, 245, 115);
/* oklch */ color: oklch(90.3% 0.171 129.6);
Tailwind
colors: {
  custom: {
    50: '#d1f89e',
    500: '#baf573',
    950: '#000000',
  },
}
SCSS
$custom: #baf573;
$custom-light: #d1f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf573",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 115
  },
  "hsl": {
    "h": 87.231,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90305,
    "c": 0.17149,
    "h": 129.6
  },
  "luminance": 0.76982
}

Semantic roles & 50–950 ramp

primary
#BAF573
secondary
#7F3DCF
accent
#02E368
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF573

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

Preview Lab → · Contrast checker → · Palette generator →

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