#BAF372#BAF372

#BAF372 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 89.8% C 0.170 H 129.1°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#BAF372
RGBrgb(186, 243, 114)
HSLhsl(87, 84%, 70%)
HSVhsv(87, 53%, 95%)
CMYKcmyk(23.5%, 0%, 53.1%, 4.7%)
CIE-LABlab(89.75, -38.29, 55.71)
CIE-LCHlch(89.75, 67.60, 124.50°)
OKLaboklab(89.84% -0.1071 0.1317)
OKLCHoklch(89.84% 0.17 129.1)
XYZxyz(55.3371, 75.7541, 27.6229)
Luminance0.7575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF372 #AB72F3
analogous
#F3EC72 #BAF372 #79F372
triadic
#BAF372 #72BAF3 #F372BA
tetradic
#BAF372 #72F3EC #AB72F3 #F37279
square
#BAF372 #72F3EC #AB72F3 #F37279
split-complementary
#BAF372 #7279F3 #EC72F3
monochromatic
#81D812 #9EEE3A #BAF372 #D6F8AA #F1FDE3

Accessibility & contrast

On white

1.30
#BAF372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#BAF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF372
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF372#FFFFFF#000000##000000
##BAF3721.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#F5E07A
Tritanopia (blue-blind)
#BEEAD6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf372;
/* rgb */ color: rgb(186, 243, 114);
/* oklch */ color: oklch(89.8% 0.170 129.1);
Tailwind
colors: {
  custom: {
    50: '#d1f79e',
    500: '#baf372',
    950: '#000000',
  },
}
SCSS
$custom: #baf372;
$custom-light: #d1f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf372",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 86.512,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.89843,
    "c": 0.16971,
    "h": 129.1
  },
  "luminance": 0.75755
}

Semantic roles & 50–950 ramp

primary
#BAF372
secondary
#7C3CCD
accent
#05E166
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF372

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

Preview Lab → · Contrast checker → · Palette generator →

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