#BAF868#BAF868

#BAF868 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.9% C 0.185 H 129.1°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#BAF868
RGBrgb(186, 248, 104)
HSLhsl(86, 91%, 69%)
HSVhsv(86, 58%, 97%)
CMYKcmyk(25%, 0%, 58.1%, 2.7%)
CIE-LABlab(91.04, -41.43, 61.61)
CIE-LCHlch(91.04, 74.24, 123.92°)
OKLaboklab(90.86% -0.1165 0.1435)
OKLCHoklch(90.86% 0.185 129.1)
XYZxyz(56.3155, 78.5721, 25.2929)
Luminance0.7857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF868 #A668F8
analogous
#F8EE68 #BAF868 #72F868
triadic
#BAF868 #68BAF8 #F868BA
tetradic
#BAF868 #68F8EE #A668F8 #F86872
square
#BAF868 #68F8EE #A668F8 #F86872
split-complementary
#BAF868 #6872F8 #EE68F8
monochromatic
#81DB0A #9FF52E #BAF868 #D5FBA2 #EFFDDD

Accessibility & contrast

On white

1.26
#BAF868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#BAF868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF868
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF868#FFFFFF#000000##000000
##BAF8681.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE858
Deuteranopia (green-blind)
#FAE472
Tritanopia (blue-blind)
#BFEED9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf868;
/* rgb */ color: rgb(186, 248, 104);
/* oklch */ color: oklch(90.9% 0.185 129.1);
Tailwind
colors: {
  custom: {
    50: '#d2fb98',
    500: '#baf868',
    950: '#000000',
  },
}
SCSS
$custom: #baf868;
$custom-light: #d2fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#baf868",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 104
  },
  "hsl": {
    "h": 85.833,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90859,
    "c": 0.18484,
    "h": 129.1
  },
  "luminance": 0.78573
}

Semantic roles & 50–950 ramp

primary
#BAF868
secondary
#7732D2
accent
#00E663
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF868

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

Preview Lab → · Contrast checker → · Palette generator →

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