#BAF66C#BAF66C

#BAF66C is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.5% C 0.179 H 129.1°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#BAF66C
RGBrgb(186, 246, 108)
HSLhsl(86, 88%, 69%)
HSVhsv(86, 56%, 96%)
CMYKcmyk(24.4%, 0%, 56.1%, 3.5%)
CIE-LABlab(90.52, -40.19, 59.28)
CIE-LCHlch(90.52, 71.62, 124.14°)
OKLaboklab(90.45% -0.1128 0.1389)
OKLCHoklch(90.45% 0.179 129.1)
XYZxyz(55.9119, 77.4321, 26.1846)
Luminance0.7743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF66C #A86CF6
analogous
#F6ED6C #BAF66C #75F66C
triadic
#BAF66C #6CBAF6 #F66CBA
tetradic
#BAF66C #6CF6ED #A86CF6 #F66C75
square
#BAF66C #6CF6ED #A86CF6 #F66C75
split-complementary
#BAF66C #6C75F6 #ED6CF6
monochromatic
#81DA0D #9FF232 #BAF66C #D5FAA6 #F0FDDF

Accessibility & contrast

On white

1.27
#BAF66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#BAF66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF66C
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF66C#FFFFFF#000000##000000
##BAF66C1.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#F8E375
Tritanopia (blue-blind)
#BFECD8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf66c;
/* rgb */ color: rgb(186, 246, 108);
/* oklch */ color: oklch(90.5% 0.179 129.1);
Tailwind
colors: {
  custom: {
    50: '#d2f99a',
    500: '#baf66c',
    950: '#000000',
  },
}
SCSS
$custom: #baf66c;
$custom-light: #d2f99a;
$custom-dark: #000000;
JSON
{
  "hex": "#baf66c",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 86.087,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9045,
    "c": 0.17891,
    "h": 129.1
  },
  "luminance": 0.77433
}

Semantic roles & 50–950 ramp

primary
#BAF66C
secondary
#7936D0
accent
#00E564
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF66C

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

Preview Lab → · Contrast checker → · Palette generator →

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