#BAF784#BAF784

#BAF784 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.0% C 0.158 H 131.8°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#BAF784
RGBrgb(186, 247, 132)
HSLhsl(92, 88%, 74%)
HSVhsv(92, 47%, 97%)
CMYKcmyk(24.7%, 0%, 46.6%, 3.1%)
CIE-LABlab(91.06, -38.18, 48.96)
CIE-LCHlch(91.06, 62.09, 127.95°)
OKLaboklab(90.98% -0.1055 0.1181)
OKLCHoklch(90.98% 0.158 131.8)
XYZxyz(57.6744, 78.6251, 33.9628)
Luminance0.7863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF784 #C184F7
analogous
#F4F784 #BAF784 #84F788
triadic
#BAF784 #84BAF7 #F784BA
tetradic
#BAF784 #84F4F7 #C184F7 #F78884
square
#BAF784 #84F4F7 #C184F7 #F78884
split-complementary
#BAF784 #8884F7 #F784F4
monochromatic
#7AF011 #9AF34B #BAF784 #DAFBBD #EFFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF784#FFFFFF#000000##000000
##BAF7841.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)
#FFE87A
Deuteranopia (green-blind)
#F7E48B
Tritanopia (blue-blind)
#BCEFDC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf784;
/* rgb */ color: rgb(186, 247, 132);
/* oklch */ color: oklch(91.0% 0.158 131.8);
Tailwind
colors: {
  custom: {
    50: '#d1faaa',
    500: '#baf784',
    950: '#000000',
  },
}
SCSS
$custom: #baf784;
$custom-light: #d1faaa;
$custom-dark: #000000;
JSON
{
  "hex": "#baf784",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 132
  },
  "hsl": {
    "h": 91.826,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90976,
    "c": 0.15834,
    "h": 131.8
  },
  "luminance": 0.78627
}

Semantic roles & 50–950 ramp

primary
#BAF784
secondary
#944BD4
accent
#01E47A
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF784

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

Preview Lab → · Contrast checker → · Palette generator →

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