#BAF877#BAF877

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

Color values

HEX#BAF877
RGBrgb(186, 248, 119)
HSLhsl(89, 90%, 72%)
HSVhsv(89, 52%, 97%)
CMYKcmyk(25%, 0%, 52%, 2.7%)
CIE-LABlab(91.19, -40.02, 55.15)
CIE-LCHlch(91.19, 68.14, 125.97°)
OKLaboklab(91.03% -0.1115 0.1309)
OKLCHoklch(91.03% 0.172 130.4)
XYZxyz(57.1462, 78.9044, 29.6685)
Luminance0.7891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF877 #B577F8
analogous
#F8F577 #BAF877 #7AF877
triadic
#BAF877 #77BAF8 #F877BA
tetradic
#BAF877 #77F8F5 #B577F8 #F8777A
square
#BAF877 #77F8F5 #B577F8 #F8777A
split-complementary
#BAF877 #777AF8 #F577F8
monochromatic
#7FE90C #9CF53D #BAF877 #D8FBB1 #F0FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF877#FFFFFF#000000##000000
##BAF8771.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)
#FFE96B
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#BDEFDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf877;
/* rgb */ color: rgb(186, 248, 119);
/* oklch */ color: oklch(91.0% 0.172 130.4);
Tailwind
colors: {
  custom: {
    50: '#d1fba1',
    500: '#baf877',
    950: '#000000',
  },
}
SCSS
$custom: #baf877;
$custom-light: #d1fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#baf877",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 88.837,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9103,
    "c": 0.17192,
    "h": 130.4
  },
  "luminance": 0.78906
}

Semantic roles & 50–950 ramp

primary
#BAF877
secondary
#873FD4
accent
#00E66E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF877

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

Preview Lab → · Contrast checker → · Palette generator →

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