#BAF976#BAF976

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

Color values

HEX#BAF976
RGBrgb(186, 249, 118)
HSLhsl(89, 92%, 72%)
HSVhsv(89, 53%, 98%)
CMYKcmyk(25.3%, 0%, 52.6%, 2.4%)
CIE-LABlab(91.46, -40.57, 55.92)
CIE-LCHlch(91.46, 69.09, 125.96°)
OKLaboklab(91.24% -0.1131 0.1325)
OKLCHoklch(91.24% 0.174 130.5)
XYZxyz(57.3948, 79.4971, 29.4566)
Luminance0.7950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF976 #B576F9
analogous
#F9F676 #BAF976 #79F976
triadic
#BAF976 #76BAF9 #F976BA
tetradic
#BAF976 #76F9F6 #B576F9 #F97679
square
#BAF976 #76F9F6 #B576F9 #F97679
split-complementary
#BAF976 #7679F9 #F676F9
monochromatic
#7FEA0A #9CF63B #BAF976 #D8FCB1 #F0FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF976#FFFFFF#000000##000000
##BAF9761.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)
#FFEA6A
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#BDF0DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf976;
/* rgb */ color: rgb(186, 249, 118);
/* oklch */ color: oklch(91.2% 0.174 130.5);
Tailwind
colors: {
  custom: {
    50: '#d1fba1',
    500: '#baf976',
    950: '#000000',
  },
}
SCSS
$custom: #baf976;
$custom-light: #d1fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#baf976",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 88.855,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91243,
    "c": 0.17416,
    "h": 130.5
  },
  "luminance": 0.79498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAF976

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

Preview Lab → · Contrast checker → · Palette generator →

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