#BAF775#BAF775

#BAF775 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 90.8% C 0.172 H 130.1°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#BAF775
RGBrgb(186, 247, 117)
HSLhsl(88, 89%, 71%)
HSVhsv(88, 53%, 97%)
CMYKcmyk(24.7%, 0%, 52.6%, 3.1%)
CIE-LABlab(90.89, -39.78, 55.70)
CIE-LCHlch(90.89, 68.45, 125.53°)
OKLaboklab(90.78% -0.111 0.1319)
OKLCHoklch(90.78% 0.172 130.1)
XYZxyz(56.7208, 78.2437, 28.9403)
Luminance0.7824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF775 #B275F7
analogous
#F7F375 #BAF775 #79F775
triadic
#BAF775 #75BAF7 #F775BA
tetradic
#BAF775 #75F7F3 #B275F7 #F77579
square
#BAF775 #75F7F3 #B275F7 #F77579
split-complementary
#BAF775 #7579F7 #F375F7
monochromatic
#7FE40D #9DF43B #BAF775 #D7FAAF #F1FDE2

Accessibility & contrast

On white

1.26
#BAF775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#BAF775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF775
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF775#FFFFFF#000000##000000
##BAF7751.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE869
Deuteranopia (green-blind)
#F8E37D
Tritanopia (blue-blind)
#BEEEDA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf775;
/* rgb */ color: rgb(186, 247, 117);
/* oklch */ color: oklch(90.8% 0.172 130.1);
Tailwind
colors: {
  custom: {
    50: '#d1faa0',
    500: '#baf775',
    950: '#000000',
  },
}
SCSS
$custom: #baf775;
$custom-light: #d1faa0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf775",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 88.154,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9078,
    "c": 0.17238,
    "h": 130.1
  },
  "luminance": 0.78245
}

Semantic roles & 50–950 ramp

primary
#BAF775
secondary
#843ED2
accent
#00E66C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF775

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

Preview Lab → · Contrast checker → · Palette generator →

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