#BAF77C#BAF77C

#BAF77C is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 90.9% C 0.166 H 130.8°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#BAF77C
RGBrgb(186, 247, 124)
HSLhsl(90, 88%, 73%)
HSVhsv(90, 50%, 97%)
CMYKcmyk(24.7%, 0%, 49.8%, 3.1%)
CIE-LABlab(90.97, -39.06, 52.59)
CIE-LCHlch(90.97, 65.51, 126.60°)
OKLaboklab(90.87% -0.1085 0.1256)
OKLCHoklch(90.87% 0.166 130.8)
XYZxyz(57.1478, 78.4145, 31.1895)
Luminance0.7842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF77C #B97CF7
analogous
#F7F67C #BAF77C #7CF77C
triadic
#BAF77C #7CBAF7 #F77CBA
tetradic
#BAF77C #7CF7F6 #B97CF7 #F77C7C
square
#BAF77C #7CF7F6 #B97CF7 #F77C7C
split-complementary
#BAF77C #7C7CF7 #F67CF7
monochromatic
#7DEA0E #9CF342 #BAF77C #D8FBB6 #F0FDE2

Accessibility & contrast

On white

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

On black

16.68
#BAF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF77C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF77C#FFFFFF#000000##000000
##BAF77C1.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#BDEEDB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf77c;
/* rgb */ color: rgb(186, 247, 124);
/* oklch */ color: oklch(90.9% 0.166 130.8);
Tailwind
colors: {
  custom: {
    50: '#d1faa4',
    500: '#baf77c',
    950: '#000000',
  },
}
SCSS
$custom: #baf77c;
$custom-light: #d1faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#baf77c",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 89.756,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90868,
    "c": 0.16596,
    "h": 130.8
  },
  "luminance": 0.78416
}

Semantic roles & 50–950 ramp

primary
#BAF77C
secondary
#8B44D3
accent
#00E572
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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