#BAF865#BAF865

#BAF865 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 90.8% C 0.187 H 128.9°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#BAF865
RGBrgb(186, 248, 101)
HSLhsl(85, 91%, 68%)
HSVhsv(85, 59%, 97%)
CMYKcmyk(25%, 0%, 59.3%, 2.7%)
CIE-LABlab(91.01, -41.68, 62.85)
CIE-LCHlch(91.01, 75.42, 123.55°)
OKLaboklab(90.83% -0.1175 0.1458)
OKLCHoklch(90.83% 0.187 128.9)
XYZxyz(56.1658, 78.5123, 24.5046)
Luminance0.7851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF865 #A365F8
analogous
#F8EC65 #BAF865 #70F865
triadic
#BAF865 #65BAF8 #F865BA
tetradic
#BAF865 #65F8EC #A365F8 #F86570
square
#BAF865 #65F8EC #A365F8 #F86570
split-complementary
#BAF865 #6570F8 #EC65F8
monochromatic
#81D90A #A0F52A #BAF865 #D4FBA0 #EEFDDA

Accessibility & contrast

On white

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

On black

16.70
#BAF865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF865
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF865#FFFFFF#000000##000000
##BAF8651.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf865;
/* rgb */ color: rgb(186, 248, 101);
/* oklch */ color: oklch(90.8% 0.187 128.9);
Tailwind
colors: {
  custom: {
    50: '#d2fb96',
    500: '#baf865',
    950: '#000000',
  },
}
SCSS
$custom: #baf865;
$custom-light: #d2fb96;
$custom-dark: #000000;
JSON
{
  "hex": "#baf865",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 101
  },
  "hsl": {
    "h": 85.306,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90828,
    "c": 0.18726,
    "h": 128.9
  },
  "luminance": 0.78513
}

Semantic roles & 50–950 ramp

primary
#BAF865
secondary
#7430D1
accent
#00E661
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF865

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

Preview Lab → · Contrast checker → · Palette generator →

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