#BAFA68#BAFA68

#BAFA68 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.3% C 0.187 H 129.4°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#BAFA68
RGBrgb(186, 250, 104)
HSLhsl(86, 94%, 69%)
HSVhsv(86, 58%, 98%)
CMYKcmyk(25.6%, 0%, 58.4%, 2%)
CIE-LABlab(91.60, -42.31, 62.24)
CIE-LCHlch(91.60, 75.25, 124.21°)
OKLaboklab(91.31% -0.119 0.1448)
OKLCHoklch(91.31% 0.187 129.4)
XYZxyz(56.9336, 79.8085, 25.4990)
Luminance0.7981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA68 #A868FA
analogous
#FAF168 #BAFA68 #71FA68
triadic
#BAFA68 #68BAFA #FA68BA
tetradic
#BAFA68 #68FAF1 #A868FA #FA6871
square
#BAFA68 #68FAF1 #A868FA #FA6871
split-complementary
#BAFA68 #6871FA #F168FA
monochromatic
#81E007 #9FF82D #BAFA68 #D5FCA3 #F0FEDE

Accessibility & contrast

On white

1.24
#BAFA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#BAFA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA68
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA68#FFFFFF#000000##000000
##BAFA681.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA58
Deuteranopia (green-blind)
#FCE572
Tritanopia (blue-blind)
#BFF0DB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa68;
/* rgb */ color: rgb(186, 250, 104);
/* oklch */ color: oklch(91.3% 0.187 129.4);
Tailwind
colors: {
  custom: {
    50: '#d2fc98',
    500: '#bafa68',
    950: '#000000',
  },
}
SCSS
$custom: #bafa68;
$custom-light: #d2fc98;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa68",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 104
  },
  "hsl": {
    "h": 86.301,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91311,
    "c": 0.18741,
    "h": 129.4
  },
  "luminance": 0.7981
}

Semantic roles & 50–950 ramp

primary
#BAFA68
secondary
#7932D4
accent
#00E665
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFA68

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

Preview Lab → · Contrast checker → · Palette generator →

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