#BAF776#BAF776

#BAF776 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 90.8% C 0.171 H 130.2°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#BAF776
RGBrgb(186, 247, 118)
HSLhsl(88, 89%, 72%)
HSVhsv(88, 52%, 97%)
CMYKcmyk(24.7%, 0%, 52.2%, 3.1%)
CIE-LABlab(90.90, -39.68, 55.26)
CIE-LCHlch(90.90, 68.03, 125.68°)
OKLaboklab(90.79% -0.1106 0.131)
OKLCHoklch(90.79% 0.171 130.2)
XYZxyz(56.7799, 78.2673, 29.2516)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF776 #B376F7
analogous
#F7F476 #BAF776 #7AF776
triadic
#BAF776 #76BAF7 #F776BA
tetradic
#BAF776 #76F7F4 #B376F7 #F7767A
square
#BAF776 #76F7F4 #B376F7 #F7767A
split-complementary
#BAF776 #767AF7 #F476F7
monochromatic
#7FE50D #9DF43C #BAF776 #D7FAB0 #F0FDE2

Accessibility & contrast

On white

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

On black

16.65
#BAF776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF776
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF776#FFFFFF#000000##000000
##BAF7761.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86A
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#BEEEDA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf776;
/* rgb */ color: rgb(186, 247, 118);
/* oklch */ color: oklch(90.8% 0.171 130.2);
Tailwind
colors: {
  custom: {
    50: '#d1faa0',
    500: '#baf776',
    950: '#000000',
  },
}
SCSS
$custom: #baf776;
$custom-light: #d1faa0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf776",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 88.372,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90792,
    "c": 0.17148,
    "h": 130.2
  },
  "luminance": 0.78269
}

Semantic roles & 50–950 ramp

primary
#BAF776
secondary
#853FD2
accent
#00E66D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF776

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

Preview Lab → · Contrast checker → · Palette generator →

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