#BAF977#BAF977

#BAF977 is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.3% C 0.173 H 130.6°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#BAF977
RGBrgb(186, 249, 119)
HSLhsl(89, 92%, 72%)
HSVhsv(89, 52%, 98%)
CMYKcmyk(25.3%, 0%, 52.2%, 2.4%)
CIE-LABlab(91.47, -40.47, 55.48)
CIE-LCHlch(91.47, 68.67, 126.11°)
OKLaboklab(91.26% -0.1127 0.1316)
OKLCHoklch(91.26% 0.173 130.6)
XYZxyz(57.4545, 79.5210, 29.7712)
Luminance0.7952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF977 #B677F9
analogous
#F9F777 #BAF977 #79F977
triadic
#BAF977 #77BAF9 #F977BA
tetradic
#BAF977 #77F9F7 #B677F9 #F97779
square
#BAF977 #77F9F7 #B677F9 #F97779
split-complementary
#BAF977 #7779F9 #F777F9
monochromatic
#7EEB0A #9CF63C #BAF977 #D8FCB2 #F0FEE2

Accessibility & contrast

On white

1.24
#BAF977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#BAF977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF977
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF977#FFFFFF#000000##000000
##BAF9771.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#BDF0DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf977;
/* rgb */ color: rgb(186, 249, 119);
/* oklch */ color: oklch(91.3% 0.173 130.6);
Tailwind
colors: {
  custom: {
    50: '#d1fba1',
    500: '#baf977',
    950: '#000000',
  },
}
SCSS
$custom: #baf977;
$custom-light: #d1fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#baf977",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 119
  },
  "hsl": {
    "h": 89.077,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91255,
    "c": 0.17326,
    "h": 130.6
  },
  "luminance": 0.79522
}

Semantic roles & 50–950 ramp

primary
#BAF977
secondary
#883FD5
accent
#00E66F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF977

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

Preview Lab → · Contrast checker → · Palette generator →

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