#BAFA6D#BAFA6D

#BAFA6D is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.4% C 0.183 H 129.8°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#BAFA6D
RGBrgb(186, 250, 109)
HSLhsl(87, 93%, 70%)
HSVhsv(87, 56%, 98%)
CMYKcmyk(25.6%, 0%, 56.4%, 2%)
CIE-LABlab(91.65, -41.86, 60.14)
CIE-LCHlch(91.65, 73.27, 124.84°)
OKLaboklab(91.37% -0.1173 0.1408)
OKLCHoklch(91.37% 0.183 129.8)
XYZxyz(57.1952, 79.9131, 26.8764)
Luminance0.7991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA6D #AD6DFA
analogous
#FAF36D #BAFA6D #73FA6D
triadic
#BAFA6D #6DBAFA #FA6DBA
tetradic
#BAFA6D #6DFAF3 #AD6DFA #FA6D73
square
#BAFA6D #6DFAF3 #AD6DFA #FA6D73
split-complementary
#BAFA6D #6D73FA #F36DFA
monochromatic
#80E508 #9EF832 #BAFA6D #D6FCA8 #F1FEE1

Accessibility & contrast

On white

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

On black

16.98
#BAFA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA6D
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA6D#FFFFFF#000000##000000
##BAFA6D1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bafa6d;
/* rgb */ color: rgb(186, 250, 109);
/* oklch */ color: oklch(91.4% 0.183 129.8);
Tailwind
colors: {
  custom: {
    50: '#d2fc9b',
    500: '#bafa6d',
    950: '#000000',
  },
}
SCSS
$custom: #bafa6d;
$custom-light: #d2fc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa6d",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 109
  },
  "hsl": {
    "h": 87.234,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91365,
    "c": 0.18329,
    "h": 129.8
  },
  "luminance": 0.79914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAFA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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