#BAF473#BAF473

#BAF473 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.1% C 0.170 H 129.4°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#BAF473
RGBrgb(186, 244, 115)
HSLhsl(87, 85%, 70%)
HSVhsv(87, 53%, 96%)
CMYKcmyk(23.8%, 0%, 52.9%, 4.3%)
CIE-LABlab(90.03, -38.64, 55.60)
CIE-LCHlch(90.03, 67.71, 124.80°)
OKLaboklab(90.08% -0.108 0.1315)
OKLCHoklch(90.08% 0.17 129.4)
XYZxyz(55.6944, 76.3771, 28.0243)
Luminance0.7638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF473 #AD73F4
analogous
#F4EE73 #BAF473 #79F473
triadic
#BAF473 #73BAF4 #F473BA
tetradic
#BAF473 #73F4EE #AD73F4 #F47379
square
#BAF473 #73F4EE #AD73F4 #F47379
split-complementary
#BAF473 #7379F4 #EE73F4
monochromatic
#80DB11 #9EF03A #BAF473 #D6F8AC #F1FDE3

Accessibility & contrast

On white

1.29
#BAF473 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#BAF473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF473
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF473#FFFFFF#000000##000000
##BAF4731.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#F6E17B
Tritanopia (blue-blind)
#BEEBD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf473;
/* rgb */ color: rgb(186, 244, 115);
/* oklch */ color: oklch(90.1% 0.170 129.4);
Tailwind
colors: {
  custom: {
    50: '#d1f89e',
    500: '#baf473',
    950: '#000000',
  },
}
SCSS
$custom: #baf473;
$custom-light: #d1f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf473",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 115
  },
  "hsl": {
    "h": 86.977,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9008,
    "c": 0.17016,
    "h": 129.4
  },
  "luminance": 0.76378
}

Semantic roles & 50–950 ramp

primary
#BAF473
secondary
#7E3DCE
accent
#04E268
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF473

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

Preview Lab → · Contrast checker → · Palette generator →

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