#BAF975#BAF975

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

Color values

HEX#BAF975
RGBrgb(186, 249, 117)
HSLhsl(89, 92%, 72%)
HSVhsv(89, 53%, 98%)
CMYKcmyk(25.3%, 0%, 53%, 2.4%)
CIE-LABlab(91.45, -40.67, 56.36)
CIE-LCHlch(91.45, 69.50, 125.81°)
OKLaboklab(91.23% -0.1134 0.1333)
OKLCHoklch(91.23% 0.175 130.4)
XYZxyz(57.3357, 79.4734, 29.1453)
Luminance0.7947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF975 #B475F9
analogous
#F9F675 #BAF975 #78F975
triadic
#BAF975 #75BAF9 #F975BA
tetradic
#BAF975 #75F9F6 #B475F9 #F97578
square
#BAF975 #75F9F6 #B475F9 #F97578
split-complementary
#BAF975 #7578F9 #F675F9
monochromatic
#7FE90A #9DF63A #BAF975 #D7FCB0 #F0FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF975#FFFFFF#000000##000000
##BAF9751.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)
#FFE968
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#BEF0DB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf975;
/* rgb */ color: rgb(186, 249, 117);
/* oklch */ color: oklch(91.2% 0.175 130.4);
Tailwind
colors: {
  custom: {
    50: '#d1fba0',
    500: '#baf975',
    950: '#000000',
  },
}
SCSS
$custom: #baf975;
$custom-light: #d1fba0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf975",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 117
  },
  "hsl": {
    "h": 88.636,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91231,
    "c": 0.17505,
    "h": 130.4
  },
  "luminance": 0.79475
}

Semantic roles & 50–950 ramp

primary
#BAF975
secondary
#863DD5
accent
#00E66E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF975

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

Preview Lab → · Contrast checker → · Palette generator →

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