#BAF86C#BAF86C

#BAF86C is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 90.9% C 0.182 H 129.4°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#BAF86C
RGBrgb(186, 248, 108)
HSLhsl(87, 91%, 70%)
HSVhsv(87, 56%, 97%)
CMYKcmyk(25%, 0%, 56.5%, 2.7%)
CIE-LABlab(91.08, -41.08, 59.92)
CIE-LCHlch(91.08, 72.65, 124.43°)
OKLaboklab(90.9% -0.1152 0.1403)
OKLCHoklch(90.9% 0.182 129.4)
XYZxyz(56.5235, 78.6553, 26.3885)
Luminance0.7866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF86C #AA6CF8
analogous
#F8F06C #BAF86C #74F86C
triadic
#BAF86C #6CBAF8 #F86CBA
tetradic
#BAF86C #6CF8F0 #AA6CF8 #F86C74
square
#BAF86C #6CF8F0 #AA6CF8 #F86C74
split-complementary
#BAF86C #6C74F8 #F06CF8
monochromatic
#81DF0B #9FF532 #BAF86C #D5FBA6 #F1FEE1

Accessibility & contrast

On white

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

On black

16.73
#BAF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF86C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF86C#FFFFFF#000000##000000
##BAF86C1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85D
Deuteranopia (green-blind)
#FAE476
Tritanopia (blue-blind)
#BEEED9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf86c;
/* rgb */ color: rgb(186, 248, 108);
/* oklch */ color: oklch(90.9% 0.182 129.4);
Tailwind
colors: {
  custom: {
    50: '#d2fb9a',
    500: '#baf86c',
    950: '#000000',
  },
}
SCSS
$custom: #baf86c;
$custom-light: #d2fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#baf86c",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 86.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90902,
    "c": 0.18153,
    "h": 129.4
  },
  "luminance": 0.78657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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