#BAFB6D#BAFB6D

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

Color values

HEX#BAFB6D
RGBrgb(186, 251, 109)
HSLhsl(87, 95%, 71%)
HSVhsv(87, 57%, 98%)
CMYKcmyk(25.9%, 0%, 56.6%, 1.6%)
CIE-LABlab(91.92, -42.30, 60.46)
CIE-LCHlch(91.92, 73.79, 124.98°)
OKLaboklab(91.59% -0.1186 0.1415)
OKLCHoklch(91.59% 0.185 130)
XYZxyz(57.5067, 80.5362, 26.9803)
Luminance0.8054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFB6D #AE6DFB
analogous
#FBF56D #BAFB6D #73FB6D
triadic
#BAFB6D #6DBAFB #FB6DBA
tetradic
#BAFB6D #6DFBF5 #AE6DFB #FB6D73
square
#BAFB6D #6DFBF5 #AE6DFB #FB6D73
split-complementary
#BAFB6D #6D73FB #F56DFB
monochromatic
#80E706 #9EF931 #BAFB6D #D6FDA9 #F1FEE1

Accessibility & contrast

On white

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

On black

17.11
#BAFB6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFB6D
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFB6D#FFFFFF#000000##000000
##BAFB6D1.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bafb6d;
/* rgb */ color: rgb(186, 251, 109);
/* oklch */ color: oklch(91.6% 0.185 130.0);
Tailwind
colors: {
  custom: {
    50: '#d2fd9b',
    500: '#bafb6d',
    950: '#000000',
  },
}
SCSS
$custom: #bafb6d;
$custom-light: #d2fd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#bafb6d",
  "rgb": {
    "r": 186,
    "g": 251,
    "b": 109
  },
  "hsl": {
    "h": 87.465,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91591,
    "c": 0.1846,
    "h": 130
  },
  "luminance": 0.80538
}

Semantic roles & 50–950 ramp

primary
#BAFB6D
secondary
#7F36D6
accent
#00E669
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFB6D

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

Preview Lab → · Contrast checker → · Palette generator →

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