#BAF261#BAF261

#BAF261 is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.4% C 0.183 H 127.6°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#BAF261
RGBrgb(186, 242, 97)
HSLhsl(83, 85%, 66%)
HSVhsv(83, 60%, 95%)
CMYKcmyk(23.1%, 0%, 59.9%, 5.1%)
CIE-LABlab(89.30, -39.36, 62.63)
CIE-LCHlch(89.30, 73.97, 122.15°)
OKLaboklab(89.43% -0.1114 0.1449)
OKLCHoklch(89.43% 0.183 127.6)
XYZxyz(54.1594, 74.8055, 22.8925)
Luminance0.7481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF261 #9961F2
analogous
#F2E161 #BAF261 #72F261
triadic
#BAF261 #61BAF2 #F261BA
tetradic
#BAF261 #61F2E1 #9961F2 #F26172
square
#BAF261 #61F2E1 #9961F2 #F26172
split-complementary
#BAF261 #6172F2 #E161F2
monochromatic
#81C810 #A1ED28 #BAF261 #D3F79A #EBFBD2

Accessibility & contrast

On white

1.32
#BAF261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#BAF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF261
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF261#FFFFFF#000000##000000
##BAF2611.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE350
Deuteranopia (green-blind)
#F5DF6B
Tritanopia (blue-blind)
#C0E8D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf261;
/* rgb */ color: rgb(186, 242, 97);
/* oklch */ color: oklch(89.4% 0.183 127.6);
Tailwind
colors: {
  custom: {
    50: '#d2f693',
    500: '#baf261',
    950: '#000000',
  },
}
SCSS
$custom: #baf261;
$custom-light: #d2f693;
$custom-dark: #000000;
JSON
{
  "hex": "#baf261",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 83.172,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89431,
    "c": 0.18279,
    "h": 127.6
  },
  "luminance": 0.74806
}

Semantic roles & 50–950 ramp

primary
#BAF261
secondary
#6B32C5
accent
#04E15A
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF261

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

Preview Lab → · Contrast checker → · Palette generator →

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