#BAFA46#BAFA46

#BAFA46 is a very light, highly saturated yellow-green. Relative luminance 0.793; OKLCH L 91.0% C 0.211 H 127.5°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#BAFA46
RGBrgb(186, 250, 70)
HSLhsl(81, 95%, 63%)
HSVhsv(81, 72%, 98%)
CMYKcmyk(25.6%, 0%, 72%, 2%)
CIE-LABlab(91.35, -44.69, 74.98)
CIE-LCHlch(91.35, 87.29, 120.79°)
OKLaboklab(91.03% -0.1282 0.1674)
OKLCHoklch(91.03% 0.211 127.5)
XYZxyz(55.5409, 79.2514, 18.1640)
Luminance0.7925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA46 #8646FA
analogous
#FAE046 #BAFA46 #60FA46
triadic
#BAFA46 #46BAFA #FA46BA
tetradic
#BAFA46 #46FAE0 #8646FA #FA4660
square
#BAFA46 #46FAE0 #8646FA #FA4660
split-complementary
#BAFA46 #4660FA #E046FA
monochromatic
#7EC005 #A4F80A #BAFA46 #D0FC82 #E6FDBD

Accessibility & contrast

On white

1.25
#BAFA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#BAFA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA46
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA46#FFFFFF#000000##000000
##BAFA461.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE923
Deuteranopia (green-blind)
#FEE557
Tritanopia (blue-blind)
#C1EFD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #bafa46;
/* rgb */ color: rgb(186, 250, 70);
/* oklch */ color: oklch(91.0% 0.211 127.5);
Tailwind
colors: {
  custom: {
    50: '#d3fc85',
    500: '#bafa46',
    950: '#000000',
  },
}
SCSS
$custom: #bafa46;
$custom-light: #d3fc85;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa46",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 70
  },
  "hsl": {
    "h": 81.333,
    "s": 94.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.91027,
    "c": 0.21087,
    "h": 127.5
  },
  "luminance": 0.79253
}

Semantic roles & 50–950 ramp

primary
#BAFA46
secondary
#5C26BE
accent
#00E652
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #BAFA46

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

Preview Lab → · Contrast checker → · Palette generator →

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