#BAF376#BAF376

#BAF376 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 89.9% C 0.166 H 129.5°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#BAF376
RGBrgb(186, 243, 118)
HSLhsl(87, 84%, 71%)
HSVhsv(87, 51%, 95%)
CMYKcmyk(23.5%, 0%, 51.4%, 4.7%)
CIE-LABlab(89.79, -37.89, 53.94)
CIE-LCHlch(89.79, 65.92, 125.09°)
OKLaboklab(89.89% -0.1057 0.1281)
OKLCHoklch(89.89% 0.166 129.5)
XYZxyz(55.5698, 75.8471, 28.8483)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF376 #AF76F3
analogous
#F3EE76 #BAF376 #7BF376
triadic
#BAF376 #76BAF3 #F376BA
tetradic
#BAF376 #76F3EE #AF76F3 #F3767B
square
#BAF376 #76F3EE #AF76F3 #F3767B
split-complementary
#BAF376 #767BF3 #EE76F3
monochromatic
#80DB13 #9EEE3E #BAF376 #D6F8AE #F1FDE3

Accessibility & contrast

On white

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

On black

16.17
#BAF376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF376
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF376#FFFFFF#000000##000000
##BAF3761.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46A
Deuteranopia (green-blind)
#F5E07E
Tritanopia (blue-blind)
#BEEAD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf376;
/* rgb */ color: rgb(186, 243, 118);
/* oklch */ color: oklch(89.9% 0.166 129.5);
Tailwind
colors: {
  custom: {
    50: '#d1f7a0',
    500: '#baf376',
    950: '#000000',
  },
}
SCSS
$custom: #baf376;
$custom-light: #d1f7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf376",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 118
  },
  "hsl": {
    "h": 87.36,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89892,
    "c": 0.16608,
    "h": 129.5
  },
  "luminance": 0.75848
}

Semantic roles & 50–950 ramp

primary
#BAF376
secondary
#8040CD
accent
#05E069
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF376

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

Preview Lab → · Contrast checker → · Palette generator →

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