#BAFA75#BAFA75

#BAFA75 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.5% C 0.176 H 130.5°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#BAFA75
RGBrgb(186, 250, 117)
HSLhsl(89, 93%, 72%)
HSVhsv(89, 53%, 98%)
CMYKcmyk(25.6%, 0%, 53.2%, 2%)
CIE-LABlab(91.73, -41.11, 56.69)
CIE-LCHlch(91.73, 70.02, 125.95°)
OKLaboklab(91.46% -0.1146 0.1341)
OKLCHoklch(91.46% 0.176 130.5)
XYZxyz(57.6456, 80.0932, 29.2486)
Luminance0.8010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA75 #B575FA
analogous
#FAF775 #BAFA75 #78FA75
triadic
#BAFA75 #75BAFA #FA75BA
tetradic
#BAFA75 #75FAF7 #B575FA #FA7578
square
#BAFA75 #75FAF7 #B575FA #FA7578
split-complementary
#BAFA75 #7578FA #F775FA
monochromatic
#7FEC09 #9CF83A #BAFA75 #D8FCB0 #F0FEE1

Accessibility & contrast

On white

1.23
#BAFA75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#BAFA75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA75
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA75#FFFFFF#000000##000000
##BAFA751.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA68
Deuteranopia (green-blind)
#FBE67E
Tritanopia (blue-blind)
#BDF1DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa75;
/* rgb */ color: rgb(186, 250, 117);
/* oklch */ color: oklch(91.5% 0.176 130.5);
Tailwind
colors: {
  custom: {
    50: '#d2fca0',
    500: '#bafa75',
    950: '#000000',
  },
}
SCSS
$custom: #bafa75;
$custom-light: #d2fca0;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa75",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 117
  },
  "hsl": {
    "h": 88.872,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91456,
    "c": 0.17639,
    "h": 130.5
  },
  "luminance": 0.80095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAFA75

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

Preview Lab → · Contrast checker → · Palette generator →

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