#BAF772#BAF772

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

Color values

HEX#BAF772
RGBrgb(186, 247, 114)
HSLhsl(88, 89%, 71%)
HSVhsv(88, 54%, 97%)
CMYKcmyk(24.7%, 0%, 53.8%, 3.1%)
CIE-LABlab(90.86, -40.07, 57.02)
CIE-LCHlch(90.86, 69.69, 125.10°)
OKLaboklab(90.74% -0.112 0.1345)
OKLCHoklch(90.74% 0.175 129.8)
XYZxyz(56.5472, 78.1742, 28.0262)
Luminance0.7818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF772 #AF72F7
analogous
#F7F272 #BAF772 #77F772
triadic
#BAF772 #72BAF7 #F772BA
tetradic
#BAF772 #72F7F2 #AF72F7 #F77277
square
#BAF772 #72F7F2 #AF72F7 #F77277
split-complementary
#BAF772 #7277F7 #F272F7
monochromatic
#80E20D #9EF438 #BAF772 #D6FAAC #F1FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF772#FFFFFF#000000##000000
##BAF7721.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)
#FFE865
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#BEEED9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf772;
/* rgb */ color: rgb(186, 247, 114);
/* oklch */ color: oklch(90.7% 0.175 129.8);
Tailwind
colors: {
  custom: {
    50: '#d1fa9e',
    500: '#baf772',
    950: '#000000',
  },
}
SCSS
$custom: #baf772;
$custom-light: #d1fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf772",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 87.519,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90744,
    "c": 0.17505,
    "h": 129.8
  },
  "luminance": 0.78176
}

Semantic roles & 50–950 ramp

primary
#BAF772
secondary
#803BD2
accent
#00E669
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF772

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

Preview Lab → · Contrast checker → · Palette generator →

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