#BAFA7A#BAFA7A

#BAFA7A is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.5% C 0.172 H 131.1°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#BAFA7A
RGBrgb(186, 250, 122)
HSLhsl(90, 93%, 73%)
HSVhsv(90, 51%, 98%)
CMYKcmyk(25.6%, 0%, 51.2%, 2%)
CIE-LABlab(91.78, -40.60, 54.49)
CIE-LCHlch(91.78, 67.95, 126.69°)
OKLaboklab(91.52% -0.1129 0.1296)
OKLCHoklch(91.52% 0.172 131.1)
XYZxyz(57.9474, 80.2140, 30.8384)
Luminance0.8022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA7A #BA7AFA
analogous
#FAFA7A #BAFA7A #7AFA7A
triadic
#BAFA7A #7ABAFA #FA7ABA
tetradic
#BAFA7A #7AFAFA #BA7AFA #FA7A7A
square
#BAFA7A #7AFAFA #BA7AFA #FA7A7A
split-complementary
#BAFA7A #7A7AFA #FA7AFA
monochromatic
#7DF109 #9BF83F #BAFA7A #D9FCB5 #F0FEE2

Accessibility & contrast

On white

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

On black

17.04
#BAFA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA7A
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA7A#FFFFFF#000000##000000
##BAFA7A1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FAE682
Tritanopia (blue-blind)
#BDF1DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa7a;
/* rgb */ color: rgb(186, 250, 122);
/* oklch */ color: oklch(91.5% 0.172 131.1);
Tailwind
colors: {
  custom: {
    50: '#d1fca3',
    500: '#bafa7a',
    950: '#000000',
  },
}
SCSS
$custom: #bafa7a;
$custom-light: #d1fca3;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa7a",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 90,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91518,
    "c": 0.1719,
    "h": 131.1
  },
  "luminance": 0.80215
}

Semantic roles & 50–950 ramp

primary
#BAFA7A
secondary
#8C41D7
accent
#00E673
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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