#BAF773#BAF773

#BAF773 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 90.8% C 0.174 H 129.9°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#BAF773
RGBrgb(186, 247, 115)
HSLhsl(88, 89%, 71%)
HSVhsv(88, 53%, 97%)
CMYKcmyk(24.7%, 0%, 53.4%, 3.1%)
CIE-LABlab(90.87, -39.98, 56.58)
CIE-LCHlch(90.87, 69.28, 125.24°)
OKLaboklab(90.76% -0.1117 0.1337)
OKLCHoklch(90.76% 0.174 129.9)
XYZxyz(56.6045, 78.1971, 28.3276)
Luminance0.7820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF773 #B073F7
analogous
#F7F273 #BAF773 #78F773
triadic
#BAF773 #73BAF7 #F773BA
tetradic
#BAF773 #73F7F2 #B073F7 #F77378
square
#BAF773 #73F7F2 #B073F7 #F77378
split-complementary
#BAF773 #7378F7 #F273F7
monochromatic
#80E30D #9DF439 #BAF773 #D7FAAD #F1FDE2

Accessibility & contrast

On white

1.26
#BAF773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#BAF773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF773
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF773#FFFFFF#000000##000000
##BAF7731.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE866
Deuteranopia (green-blind)
#F8E37C
Tritanopia (blue-blind)
#BEEED9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf773;
/* rgb */ color: rgb(186, 247, 115);
/* oklch */ color: oklch(90.8% 0.174 129.9);
Tailwind
colors: {
  custom: {
    50: '#d1fa9f',
    500: '#baf773',
    950: '#000000',
  },
}
SCSS
$custom: #baf773;
$custom-light: #d1fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf773",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 115
  },
  "hsl": {
    "h": 87.727,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90756,
    "c": 0.17416,
    "h": 129.9
  },
  "luminance": 0.78198
}

Semantic roles & 50–950 ramp

primary
#BAF773
secondary
#813CD2
accent
#00E66A
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF773

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

Preview Lab → · Contrast checker → · Palette generator →

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