#BAF873#BAF873

#BAF873 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.0% C 0.175 H 130.0°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#BAF873
RGBrgb(186, 248, 115)
HSLhsl(88, 90%, 71%)
HSVhsv(88, 54%, 97%)
CMYKcmyk(25%, 0%, 53.6%, 2.7%)
CIE-LABlab(91.15, -40.42, 56.91)
CIE-LCHlch(91.15, 69.80, 125.38°)
OKLaboklab(90.98% -0.1129 0.1344)
OKLCHoklch(90.98% 0.175 130)
XYZxyz(56.9111, 78.8104, 28.4298)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF873 #B173F8
analogous
#F8F373 #BAF873 #77F873
triadic
#BAF873 #73BAF8 #F873BA
tetradic
#BAF873 #73F8F3 #B173F8 #F87377
square
#BAF873 #73F8F3 #B173F8 #F87377
split-complementary
#BAF873 #7377F8 #F373F8
monochromatic
#80E50B #9DF539 #BAF873 #D7FBAD #F1FEE2

Accessibility & contrast

On white

1.25
#BAF873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#BAF873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF873
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF873#FFFFFF#000000##000000
##BAF8731.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE966
Deuteranopia (green-blind)
#F9E47C
Tritanopia (blue-blind)
#BEEFDA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf873;
/* rgb */ color: rgb(186, 248, 115);
/* oklch */ color: oklch(91.0% 0.175 130.0);
Tailwind
colors: {
  custom: {
    50: '#d1fb9f',
    500: '#baf873',
    950: '#000000',
  },
}
SCSS
$custom: #baf873;
$custom-light: #d1fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf873",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 87.97,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90981,
    "c": 0.17549,
    "h": 130
  },
  "luminance": 0.78812
}

Semantic roles & 50–950 ramp

primary
#BAF873
secondary
#823CD3
accent
#00E66B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF873

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

Preview Lab → · Contrast checker → · Palette generator →

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