#BAF07A#BAF07A

#BAF07A is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.3% C 0.158 H 129.4°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#BAF07A
RGBrgb(186, 240, 122)
HSLhsl(87, 80%, 71%)
HSVhsv(87, 49%, 94%)
CMYKcmyk(22.5%, 0%, 49.2%, 5.9%)
CIE-LABlab(89.00, -36.12, 51.14)
CIE-LCHlch(89.00, 62.61, 125.24°)
OKLaboklab(89.27% -0.1004 0.1223)
OKLCHoklch(89.27% 0.158 129.4)
XYZxyz(54.9221, 74.1633, 29.8299)
Luminance0.7416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF07A #B07AF0
analogous
#F0EB7A #BAF07A #7FF07A
triadic
#BAF07A #7ABAF0 #F07ABA
tetradic
#BAF07A #7AF0EB #B07AF0 #F07A7F
square
#BAF07A #7AF0EB #B07AF0 #F07A7F
split-complementary
#BAF07A #7A7FF0 #EB7AF0
monochromatic
#80D718 #9DEA43 #BAF07A #D7F6B1 #F1FCE4

Accessibility & contrast

On white

1.33
#BAF07A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#BAF07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF07A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF07A#FFFFFF#000000##000000
##BAF07A1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE270
Deuteranopia (green-blind)
#F2DE81
Tritanopia (blue-blind)
#BEE7D5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #baf07a;
/* rgb */ color: rgb(186, 240, 122);
/* oklch */ color: oklch(89.3% 0.158 129.4);
Tailwind
colors: {
  custom: {
    50: '#d1f5a3',
    500: '#baf07a',
    950: '#000000',
  },
}
SCSS
$custom: #baf07a;
$custom-light: #d1f5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#baf07a",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 122
  },
  "hsl": {
    "h": 87.458,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89269,
    "c": 0.15824,
    "h": 129.4
  },
  "luminance": 0.74164
}

Semantic roles & 50–950 ramp

primary
#BAF07A
secondary
#8144CA
accent
#09DC6A
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF07A

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

Preview Lab → · Contrast checker → · Palette generator →

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