#BAFA92#BAFA92

#BAFA92 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 91.9% C 0.149 H 134.3°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#BAFA92
RGBrgb(186, 250, 146)
HSLhsl(97, 91%, 78%)
HSVhsv(97, 42%, 98%)
CMYKcmyk(25.6%, 0%, 41.6%, 2%)
CIE-LABlab(92.08, -37.85, 43.51)
CIE-LCHlch(92.08, 57.67, 131.02°)
OKLaboklab(91.86% -0.1039 0.1065)
OKLCHoklch(91.86% 0.149 134.3)
XYZxyz(59.6223, 80.8839, 39.6594)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA92 #D292FA
analogous
#EEFA92 #BAFA92 #92FA9E
triadic
#BAFA92 #92BAFA #FA92BA
tetradic
#BAFA92 #92EEFA #D292FA #FA9E92
square
#BAFA92 #92EEFA #D292FA #FA9E92
split-complementary
#BAFA92 #9E92FA #FA92EE
monochromatic
#70F51D #95F757 #BAFA92 #DFFDCD #ECFEE2

Accessibility & contrast

On white

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

On black

17.18
#BAFA92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA92
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA92#FFFFFF#000000##000000
##BAFA921.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8A
Deuteranopia (green-blind)
#F8E698
Tritanopia (blue-blind)
#BAF3E1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa92;
/* rgb */ color: rgb(186, 250, 146);
/* oklch */ color: oklch(91.9% 0.149 134.3);
Tailwind
colors: {
  custom: {
    50: '#d1fcb3',
    500: '#bafa92',
    950: '#000000',
  },
}
SCSS
$custom: #bafa92;
$custom-light: #d1fcb3;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa92",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 146
  },
  "hsl": {
    "h": 96.923,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.91857,
    "c": 0.14872,
    "h": 134.3
  },
  "luminance": 0.80886
}

Semantic roles & 50–950 ramp

primary
#BAFA92
secondary
#A756DA
accent
#00E68D
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAFA92

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

Preview Lab → · Contrast checker → · Palette generator →

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