#BAFB6A#BAFB6A

#BAFB6A is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 91.6% C 0.187 H 129.7°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#BAFB6A
RGBrgb(186, 251, 106)
HSLhsl(87, 95%, 70%)
HSVhsv(87, 58%, 98%)
CMYKcmyk(25.9%, 0%, 57.8%, 1.6%)
CIE-LABlab(91.90, -42.57, 61.72)
CIE-LCHlch(91.90, 74.98, 124.59°)
OKLaboklab(91.56% -0.1195 0.1439)
OKLCHoklch(91.56% 0.187 129.7)
XYZxyz(57.3480, 80.4727, 26.1442)
Luminance0.8047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFB6A #AB6AFB
analogous
#FBF46A #BAFB6A #71FB6A
triadic
#BAFB6A #6ABAFB #FB6ABA
tetradic
#BAFB6A #6AFBF4 #AB6AFB #FB6A71
square
#BAFB6A #6AFBF4 #AB6AFB #FB6A71
split-complementary
#BAFB6A #6A71FB #F46AFB
monochromatic
#81E406 #9EF92E #BAFB6A #D6FDA6 #F1FEE1

Accessibility & contrast

On white

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

On black

17.09
#BAFB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFB6A
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFB6A#FFFFFF#000000##000000
##BAFB6A1.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5A
Deuteranopia (green-blind)
#FCE674
Tritanopia (blue-blind)
#BEF1DC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafb6a;
/* rgb */ color: rgb(186, 251, 106);
/* oklch */ color: oklch(91.6% 0.187 129.7);
Tailwind
colors: {
  custom: {
    50: '#d2fd99',
    500: '#bafb6a',
    950: '#000000',
  },
}
SCSS
$custom: #bafb6a;
$custom-light: #d2fd99;
$custom-dark: #000000;
JSON
{
  "hex": "#bafb6a",
  "rgb": {
    "r": 186,
    "g": 251,
    "b": 106
  },
  "hsl": {
    "h": 86.897,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.91559,
    "c": 0.18708,
    "h": 129.7
  },
  "luminance": 0.80474
}

Semantic roles & 50–950 ramp

primary
#BAFB6A
secondary
#7C33D6
accent
#00E667
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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