#BAF876#BAF876

#BAF876 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.0% C 0.173 H 130.3°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#BAF876
RGBrgb(186, 248, 118)
HSLhsl(89, 90%, 72%)
HSVhsv(89, 52%, 97%)
CMYKcmyk(25%, 0%, 52.4%, 2.7%)
CIE-LABlab(91.18, -40.12, 55.59)
CIE-LCHlch(91.18, 68.56, 125.82°)
OKLaboklab(91.02% -0.1118 0.1318)
OKLCHoklch(91.02% 0.173 130.3)
XYZxyz(57.0865, 78.8806, 29.3538)
Luminance0.7888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF876 #B476F8
analogous
#F8F576 #BAF876 #79F876
triadic
#BAF876 #76BAF8 #F876BA
tetradic
#BAF876 #76F8F5 #B476F8 #F87679
square
#BAF876 #76F8F5 #B476F8 #F87679
split-complementary
#BAF876 #7679F8 #F576F8
monochromatic
#7FE80C #9DF53C #BAF876 #D7FBB0 #F0FEE2

Accessibility & contrast

On white

1.25
#BAF876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#BAF876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF876
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF876#FFFFFF#000000##000000
##BAF8761.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96A
Deuteranopia (green-blind)
#F9E47E
Tritanopia (blue-blind)
#BEEFDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf876;
/* rgb */ color: rgb(186, 248, 118);
/* oklch */ color: oklch(91.0% 0.173 130.3);
Tailwind
colors: {
  custom: {
    50: '#d1fba1',
    500: '#baf876',
    950: '#000000',
  },
}
SCSS
$custom: #baf876;
$custom-light: #d1fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#baf876",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 118
  },
  "hsl": {
    "h": 88.615,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91017,
    "c": 0.17283,
    "h": 130.3
  },
  "luminance": 0.78882
}

Semantic roles & 50–950 ramp

primary
#BAF876
secondary
#863FD4
accent
#00E66D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF876

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

Preview Lab → · Contrast checker → · Palette generator →

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