#BAFC6A#BAFC6A

#BAFC6A is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 91.8% C 0.188 H 129.9°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#BAFC6A
RGBrgb(186, 252, 106)
HSLhsl(87, 96%, 70%)
HSVhsv(87, 58%, 99%)
CMYKcmyk(26.2%, 0%, 57.9%, 1.2%)
CIE-LABlab(92.18, -43.00, 62.04)
CIE-LCHlch(92.18, 75.48, 124.73°)
OKLaboklab(91.79% -0.1207 0.1446)
OKLCHoklch(91.79% 0.188 129.9)
XYZxyz(57.6612, 81.0991, 26.2486)
Luminance0.8110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC6A #AC6AFC
analogous
#FCF56A #BAFC6A #71FC6A
triadic
#BAFC6A #6ABAFC #FC6ABA
tetradic
#BAFC6A #6AFCF5 #AC6AFC #FC6A71
square
#BAFC6A #6AFCF5 #AC6AFC #FC6A71
split-complementary
#BAFC6A #6A71FC #F56AFC
monochromatic
#81E705 #9EFB2E #BAFC6A #D6FDA6 #F1FEE1

Accessibility & contrast

On white

1.22
#BAFC6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#BAFC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC6A
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC6A#FFFFFF#000000##000000
##BAFC6A1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5A
Deuteranopia (green-blind)
#FDE774
Tritanopia (blue-blind)
#BEF2DC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafc6a;
/* rgb */ color: rgb(186, 252, 106);
/* oklch */ color: oklch(91.8% 0.188 129.9);
Tailwind
colors: {
  custom: {
    50: '#d2fd99',
    500: '#bafc6a',
    950: '#000000',
  },
}
SCSS
$custom: #bafc6a;
$custom-light: #d2fd99;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc6a",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 106
  },
  "hsl": {
    "h": 87.123,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91785,
    "c": 0.18837,
    "h": 129.9
  },
  "luminance": 0.81101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAFC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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