#BAFBA2#BAFBA2

#BAFBA2 is a very light, vivid green. Relative luminance 0.820; OKLCH L 92.3% C 0.134 H 137.5°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#BAFBA2
RGBrgb(186, 251, 162)
HSLhsl(104, 92%, 81%)
HSVhsv(104, 35%, 98%)
CMYKcmyk(25.9%, 0%, 35.5%, 1.6%)
CIE-LABlab(92.59, -36.16, 36.31)
CIE-LCHlch(92.59, 51.24, 134.88°)
OKLaboklab(92.35% -0.0987 0.0903)
OKLCHoklch(92.35% 0.134 137.5)
XYZxyz(61.2667, 82.0402, 46.7828)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFBA2 #E3A2FB
analogous
#E6FBA2 #BAFBA2 #A2FBB6
triadic
#BAFBA2 #A2BAFB #FBA2BA
tetradic
#BAFBA2 #A2E6FB #E3A2FB #FBB6A2
square
#BAFBA2 #A2E6FB #E3A2FB #FBB6A2
split-complementary
#BAFBA2 #B6A2FB #FBA2E6
monochromatic
#63F62D #8EF867 #BAFBA2 #E6FEDD #E9FEE2

Accessibility & contrast

On white

1.21
#BAFBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#BAFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFBA2
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFBA2#FFFFFF#000000##000000
##BAFBA21.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED9C
Deuteranopia (green-blind)
#F7E8A7
Tritanopia (blue-blind)
#B8F5E4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafba2;
/* rgb */ color: rgb(186, 251, 162);
/* oklch */ color: oklch(92.3% 0.134 137.5);
Tailwind
colors: {
  custom: {
    50: '#d0fdbe',
    500: '#bafba2',
    950: '#000000',
  },
}
SCSS
$custom: #bafba2;
$custom-light: #d0fdbe;
$custom-dark: #000000;
JSON
{
  "hex": "#bafba2",
  "rgb": {
    "r": 186,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 103.82,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.92348,
    "c": 0.13376,
    "h": 137.5
  },
  "luminance": 0.82042
}

Semantic roles & 50–950 ramp

primary
#BAFBA2
secondary
#BD64DD
accent
#00E6A8
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141712
muted
#838582

Preview Lab

Preview with #BAFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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