#BAFC68#BAFC68

#BAFC68 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 91.8% C 0.190 H 129.7°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#BAFC68
RGBrgb(186, 252, 104)
HSLhsl(87, 96%, 70%)
HSVhsv(87, 59%, 99%)
CMYKcmyk(26.2%, 0%, 58.7%, 1.2%)
CIE-LABlab(92.16, -43.18, 62.87)
CIE-LCHlch(92.16, 76.27, 124.48°)
OKLaboklab(91.76% -0.1214 0.1462)
OKLCHoklch(91.76% 0.19 129.7)
XYZxyz(57.5584, 81.0580, 25.7072)
Luminance0.8106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC68 #AA68FC
analogous
#FCF468 #BAFC68 #70FC68
triadic
#BAFC68 #68BAFC #FC68BA
tetradic
#BAFC68 #68FCF4 #AA68FC #FC6870
square
#BAFC68 #68FCF4 #AA68FC #FC6870
split-complementary
#BAFC68 #6870FC #F468FC
monochromatic
#81E505 #9FFB2C #BAFC68 #D5FDA4 #F1FEE0

Accessibility & contrast

On white

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

On black

17.21
#BAFC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC68
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC68#FFFFFF#000000##000000
##BAFC681.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FDE773
Tritanopia (blue-blind)
#BEF2DC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafc68;
/* rgb */ color: rgb(186, 252, 104);
/* oklch */ color: oklch(91.8% 0.190 129.7);
Tailwind
colors: {
  custom: {
    50: '#d2fd98',
    500: '#bafc68',
    950: '#000000',
  },
}
SCSS
$custom: #bafc68;
$custom-light: #d2fd98;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc68",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 104
  },
  "hsl": {
    "h": 86.757,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91764,
    "c": 0.18998,
    "h": 129.7
  },
  "luminance": 0.81059
}

Semantic roles & 50–950 ramp

primary
#BAFC68
secondary
#7B31D7
accent
#00E666
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFC68

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

Preview Lab → · Contrast checker → · Palette generator →

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