#BAFA6A#BAFA6A

#BAFA6A is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.3% C 0.186 H 129.6°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#BAFA6A
RGBrgb(186, 250, 106)
HSLhsl(87, 94%, 70%)
HSVhsv(87, 58%, 98%)
CMYKcmyk(25.6%, 0%, 57.6%, 2%)
CIE-LABlab(91.62, -42.13, 61.40)
CIE-LCHlch(91.62, 74.47, 124.46°)
OKLaboklab(91.33% -0.1183 0.1432)
OKLCHoklch(91.33% 0.186 129.6)
XYZxyz(57.0364, 79.8496, 26.0404)
Luminance0.7985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA6A #AA6AFA
analogous
#FAF26A #BAFA6A #72FA6A
triadic
#BAFA6A #6ABAFA #FA6ABA
tetradic
#BAFA6A #6AFAF2 #AA6AFA #FA6A72
square
#BAFA6A #6AFAF2 #AA6AFA #FA6A72
split-complementary
#BAFA6A #6A72FA #F26AFA
monochromatic
#81E208 #9FF82F #BAFA6A #D5FCA5 #F1FEE0

Accessibility & contrast

On white

1.24
#BAFA6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#BAFA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA6A
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA6A#FFFFFF#000000##000000
##BAFA6A1.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5B
Deuteranopia (green-blind)
#FCE574
Tritanopia (blue-blind)
#BEF0DB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa6a;
/* rgb */ color: rgb(186, 250, 106);
/* oklch */ color: oklch(91.3% 0.186 129.6);
Tailwind
colors: {
  custom: {
    50: '#d2fc99',
    500: '#bafa6a',
    950: '#000000',
  },
}
SCSS
$custom: #bafa6a;
$custom-light: #d2fc99;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa6a",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 106
  },
  "hsl": {
    "h": 86.667,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91332,
    "c": 0.18579,
    "h": 129.6
  },
  "luminance": 0.79851
}

Semantic roles & 50–950 ramp

primary
#BAFA6A
secondary
#7B34D5
accent
#00E666
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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