#BAF973#BAF973

#BAF973 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.2% C 0.177 H 130.2°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#BAF973
RGBrgb(186, 249, 115)
HSLhsl(88, 92%, 71%)
HSVhsv(88, 54%, 98%)
CMYKcmyk(25.3%, 0%, 53.8%, 2.4%)
CIE-LABlab(91.43, -40.86, 57.23)
CIE-LCHlch(91.43, 70.32, 125.52°)
OKLaboklab(91.21% -0.1141 0.1351)
OKLCHoklch(91.21% 0.177 130.2)
XYZxyz(57.2193, 79.4269, 28.5326)
Luminance0.7943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF973 #B273F9
analogous
#F9F573 #BAF973 #77F973
triadic
#BAF973 #73BAF9 #F973BA
tetradic
#BAF973 #73F9F5 #B273F9 #F97377
square
#BAF973 #73F9F5 #B273F9 #F97377
split-complementary
#BAF973 #7377F9 #F573F9
monochromatic
#7FE80A #9DF638 #BAF973 #D7FCAE #F1FEE2

Accessibility & contrast

On white

1.24
#BAF973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#BAF973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF973
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF973#FFFFFF#000000##000000
##BAF9731.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf973;
/* rgb */ color: rgb(186, 249, 115);
/* oklch */ color: oklch(91.2% 0.177 130.2);
Tailwind
colors: {
  custom: {
    50: '#d2fb9f',
    500: '#baf973',
    950: '#000000',
  },
}
SCSS
$custom: #baf973;
$custom-light: #d2fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf973",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 88.209,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91207,
    "c": 0.17682,
    "h": 130.2
  },
  "luminance": 0.79428
}

Semantic roles & 50–950 ramp

primary
#BAF973
secondary
#843CD4
accent
#00E66C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF973

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

Preview Lab → · Contrast checker → · Palette generator →

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