#BAF770#BAF770

#BAF770 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.7% C 0.177 H 129.6°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#BAF770
RGBrgb(186, 247, 112)
HSLhsl(87, 89%, 70%)
HSVhsv(87, 55%, 97%)
CMYKcmyk(24.7%, 0%, 54.7%, 3.1%)
CIE-LABlab(90.84, -40.26, 57.89)
CIE-LCHlch(90.84, 70.51, 124.82°)
OKLaboklab(90.72% -0.1127 0.1362)
OKLCHoklch(90.72% 0.177 129.6)
XYZxyz(56.4346, 78.1292, 27.4332)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF770 #AD70F7
analogous
#F7F070 #BAF770 #76F770
triadic
#BAF770 #70BAF7 #F770BA
tetradic
#BAF770 #70F7F0 #AD70F7 #F77076
square
#BAF770 #70F7F0 #AD70F7 #F77076
split-complementary
#BAF770 #7076F7 #F070F7
monochromatic
#80E00D #9EF436 #BAF770 #D6FAAA #F1FDE2

Accessibility & contrast

On white

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

On black

16.63
#BAF770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF770
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF770#FFFFFF#000000##000000
##BAF7701.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#F9E379
Tritanopia (blue-blind)
#BEEED9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf770;
/* rgb */ color: rgb(186, 247, 112);
/* oklch */ color: oklch(90.7% 0.177 129.6);
Tailwind
colors: {
  custom: {
    50: '#d2fa9d',
    500: '#baf770',
    950: '#000000',
  },
}
SCSS
$custom: #baf770;
$custom-light: #d2fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#baf770",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 112
  },
  "hsl": {
    "h": 87.111,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90721,
    "c": 0.17679,
    "h": 129.6
  },
  "luminance": 0.7813
}

Semantic roles & 50–950 ramp

primary
#BAF770
secondary
#7E3AD2
accent
#00E668
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF770

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

Preview Lab → · Contrast checker → · Palette generator →

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