#BAFA73#BAFA73

#BAFA73 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.4% C 0.178 H 130.3°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#BAFA73
RGBrgb(186, 250, 115)
HSLhsl(88, 93%, 72%)
HSVhsv(88, 54%, 98%)
CMYKcmyk(25.6%, 0%, 54%, 2%)
CIE-LABlab(91.71, -41.30, 57.56)
CIE-LCHlch(91.71, 70.85, 125.66°)
OKLaboklab(91.43% -0.1153 0.1358)
OKLCHoklch(91.43% 0.178 130.3)
XYZxyz(57.5292, 80.0467, 28.6359)
Luminance0.8005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA73 #B373FA
analogous
#FAF673 #BAFA73 #77FA73
triadic
#BAFA73 #73BAFA #FA73BA
tetradic
#BAFA73 #73FAF6 #B373FA #FA7377
square
#BAFA73 #73FAF6 #B373FA #FA7377
split-complementary
#BAFA73 #7377FA #F673FA
monochromatic
#7FEA08 #9DF838 #BAFA73 #D7FCAE #F0FEE1

Accessibility & contrast

On white

1.23
#BAFA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#BAFA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA73
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA73#FFFFFF#000000##000000
##BAFA731.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#BEF1DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa73;
/* rgb */ color: rgb(186, 250, 115);
/* oklch */ color: oklch(91.4% 0.178 130.3);
Tailwind
colors: {
  custom: {
    50: '#d2fc9f',
    500: '#bafa73',
    950: '#000000',
  },
}
SCSS
$custom: #bafa73;
$custom-light: #d2fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa73",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 115
  },
  "hsl": {
    "h": 88.444,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91433,
    "c": 0.17815,
    "h": 130.3
  },
  "luminance": 0.80048
}

Semantic roles & 50–950 ramp

primary
#BAFA73
secondary
#853BD6
accent
#00E66D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFA73

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

Preview Lab → · Contrast checker → · Palette generator →

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