#BAFA61#BAFA61

#BAFA61 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.2% C 0.193 H 128.9°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#BAFA61
RGBrgb(186, 250, 97)
HSLhsl(85, 94%, 68%)
HSVhsv(85, 61%, 98%)
CMYKcmyk(25.6%, 0%, 61.2%, 2%)
CIE-LABlab(91.54, -42.88, 65.10)
CIE-LCHlch(91.54, 77.95, 123.38°)
OKLaboklab(91.24% -0.1211 0.1501)
OKLCHoklch(91.24% 0.193 128.9)
XYZxyz(56.5927, 79.6721, 23.7036)
Luminance0.7967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA61 #A161FA
analogous
#FAED61 #BAFA61 #6DFA61
triadic
#BAFA61 #61BAFA #FA61BA
tetradic
#BAFA61 #61FAED #A161FA #FA616D
square
#BAFA61 #61FAED #A161FA #FA616D
split-complementary
#BAFA61 #616DFA #ED61FA
monochromatic
#82DA07 #A0F826 #BAFA61 #D4FC9C #EEFED8

Accessibility & contrast

On white

1.24
#BAFA61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#BAFA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA61
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA61#FFFFFF#000000##000000
##BAFA611.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4F
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#BFF0DA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa61;
/* rgb */ color: rgb(186, 250, 97);
/* oklch */ color: oklch(91.2% 0.193 128.9);
Tailwind
colors: {
  custom: {
    50: '#d2fc94',
    500: '#bafa61',
    950: '#000000',
  },
}
SCSS
$custom: #bafa61;
$custom-light: #d2fc94;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa61",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 97
  },
  "hsl": {
    "h": 85.098,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91242,
    "c": 0.19291,
    "h": 128.9
  },
  "luminance": 0.79673
}

Semantic roles & 50–950 ramp

primary
#BAFA61
secondary
#722CD3
accent
#00E660
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFA61

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

Preview Lab → · Contrast checker → · Palette generator →

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