#BAFB68#BAFB68

#BAFB68 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.5% C 0.189 H 129.6°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#BAFB68
RGBrgb(186, 251, 104)
HSLhsl(87, 95%, 70%)
HSVhsv(87, 59%, 98%)
CMYKcmyk(25.9%, 0%, 58.6%, 1.6%)
CIE-LABlab(91.88, -42.74, 62.55)
CIE-LCHlch(91.88, 75.76, 124.34°)
OKLaboklab(91.54% -0.1202 0.1455)
OKLCHoklch(91.54% 0.189 129.6)
XYZxyz(57.2452, 80.4316, 25.6028)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFB68 #A968FB
analogous
#FBF368 #BAFB68 #70FB68
triadic
#BAFB68 #68BAFB #FB68BA
tetradic
#BAFB68 #68FBF3 #A968FB #FB6870
square
#BAFB68 #68FBF3 #A968FB #FB6870
split-complementary
#BAFB68 #6870FB #F368FB
monochromatic
#81E306 #9FF92C #BAFB68 #D5FDA4 #F0FEDF

Accessibility & contrast

On white

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

On black

17.09
#BAFB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFB68
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFB68#FFFFFF#000000##000000
##BAFB681.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB58
Deuteranopia (green-blind)
#FDE672
Tritanopia (blue-blind)
#BEF1DB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafb68;
/* rgb */ color: rgb(186, 251, 104);
/* oklch */ color: oklch(91.5% 0.189 129.6);
Tailwind
colors: {
  custom: {
    50: '#d2fd98',
    500: '#bafb68',
    950: '#000000',
  },
}
SCSS
$custom: #bafb68;
$custom-light: #d2fd98;
$custom-dark: #000000;
JSON
{
  "hex": "#bafb68",
  "rgb": {
    "r": 186,
    "g": 251,
    "b": 104
  },
  "hsl": {
    "h": 86.531,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91538,
    "c": 0.1887,
    "h": 129.6
  },
  "luminance": 0.80433
}

Semantic roles & 50–950 ramp

primary
#BAFB68
secondary
#7A32D6
accent
#00E665
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFB68

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

Preview Lab → · Contrast checker → · Palette generator →

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