#BAF76C#BAF76C

#BAF76C is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.7% C 0.180 H 129.3°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#BAF76C
RGBrgb(186, 247, 108)
HSLhsl(86, 90%, 70%)
HSVhsv(86, 56%, 97%)
CMYKcmyk(24.7%, 0%, 56.3%, 3.1%)
CIE-LABlab(90.80, -40.63, 59.60)
CIE-LCHlch(90.80, 72.14, 124.28°)
OKLaboklab(90.68% -0.114 0.1396)
OKLCHoklch(90.68% 0.18 129.3)
XYZxyz(56.2168, 78.0421, 26.2863)
Luminance0.7804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF76C #A96CF7
analogous
#F7EE6C #BAF76C #75F76C
triadic
#BAF76C #6CBAF7 #F76CBA
tetradic
#BAF76C #6CF7EE #A96CF7 #F76C75
square
#BAF76C #6CF7EE #A96CF7 #F76C75
split-complementary
#BAF76C #6C75F7 #EE6CF7
monochromatic
#81DD0C #9FF432 #BAF76C #D5FAA6 #F0FDE0

Accessibility & contrast

On white

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

On black

16.61
#BAF76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF76C
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF76C#FFFFFF#000000##000000
##BAF76C1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#F9E375
Tritanopia (blue-blind)
#BFEDD9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf76c;
/* rgb */ color: rgb(186, 247, 108);
/* oklch */ color: oklch(90.7% 0.180 129.3);
Tailwind
colors: {
  custom: {
    50: '#d2fa9a',
    500: '#baf76c',
    950: '#000000',
  },
}
SCSS
$custom: #baf76c;
$custom-light: #d2fa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#baf76c",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 86.331,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90676,
    "c": 0.18022,
    "h": 129.3
  },
  "luminance": 0.78043
}

Semantic roles & 50–950 ramp

primary
#BAF76C
secondary
#7A36D1
accent
#00E665
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF76C

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

Preview Lab → · Contrast checker → · Palette generator →

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