#BAF373#BAF373

#BAF373 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 89.9% C 0.169 H 129.2°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#BAF373
RGBrgb(186, 243, 115)
HSLhsl(87, 84%, 70%)
HSVhsv(87, 53%, 95%)
CMYKcmyk(23.5%, 0%, 52.7%, 4.7%)
CIE-LABlab(89.76, -38.19, 55.27)
CIE-LCHlch(89.76, 67.18, 124.65°)
OKLaboklab(89.85% -0.1067 0.1308)
OKLCHoklch(89.85% 0.169 129.2)
XYZxyz(55.3944, 75.7770, 27.9243)
Luminance0.7578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF373 #AC73F3
analogous
#F3EC73 #BAF373 #7AF373
triadic
#BAF373 #73BAF3 #F373BA
tetradic
#BAF373 #73F3EC #AC73F3 #F3737A
square
#BAF373 #73F3EC #AC73F3 #F3737A
split-complementary
#BAF373 #737AF3 #EC73F3
monochromatic
#81D913 #9EEE3B #BAF373 #D6F8AB #F1FDE3

Accessibility & contrast

On white

1.30
#BAF373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#BAF373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF373
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF373#FFFFFF#000000##000000
##BAF3731.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE467
Deuteranopia (green-blind)
#F5E07B
Tritanopia (blue-blind)
#BEEAD6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf373;
/* rgb */ color: rgb(186, 243, 115);
/* oklch */ color: oklch(89.9% 0.169 129.2);
Tailwind
colors: {
  custom: {
    50: '#d1f79e',
    500: '#baf373',
    950: '#000000',
  },
}
SCSS
$custom: #baf373;
$custom-light: #d1f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf373",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 115
  },
  "hsl": {
    "h": 86.719,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89855,
    "c": 0.16881,
    "h": 129.2
  },
  "luminance": 0.75778
}

Semantic roles & 50–950 ramp

primary
#BAF373
secondary
#7D3DCD
accent
#05E167
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF373

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

Preview Lab → · Contrast checker → · Palette generator →

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