#BAF377#BAF377

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

Color values

HEX#BAF377
RGBrgb(186, 243, 119)
HSLhsl(88, 84%, 71%)
HSVhsv(88, 51%, 95%)
CMYKcmyk(23.5%, 0%, 51%, 4.7%)
CIE-LABlab(89.80, -37.79, 53.49)
CIE-LCHlch(89.80, 65.50, 125.24°)
OKLaboklab(89.9% -0.1053 0.1272)
OKLCHoklch(89.9% 0.165 129.6)
XYZxyz(55.6295, 75.8710, 29.1629)
Luminance0.7587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF377 #B077F3
analogous
#F3EE77 #BAF377 #7CF377
triadic
#BAF377 #77BAF3 #F377BA
tetradic
#BAF377 #77F3EE #B077F3 #F3777C
square
#BAF377 #77F3EE #B077F3 #F3777C
split-complementary
#BAF377 #777CF3 #EE77F3
monochromatic
#80DC13 #9DEE3F #BAF377 #D7F8AF #F1FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF377#FFFFFF#000000##000000
##BAF3771.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)
#FDE46C
Deuteranopia (green-blind)
#F5E07F
Tritanopia (blue-blind)
#BEEAD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf377;
/* rgb */ color: rgb(186, 243, 119);
/* oklch */ color: oklch(89.9% 0.165 129.6);
Tailwind
colors: {
  custom: {
    50: '#d1f7a1',
    500: '#baf377',
    950: '#000000',
  },
}
SCSS
$custom: #baf377;
$custom-light: #d1f7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#baf377",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 119
  },
  "hsl": {
    "h": 87.581,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89904,
    "c": 0.16515,
    "h": 129.6
  },
  "luminance": 0.75872
}

Semantic roles & 50–950 ramp

primary
#BAF377
secondary
#8141CD
accent
#05E06A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF377

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

Preview Lab → · Contrast checker → · Palette generator →

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