#BAF564#BAF564

#BAF564 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.1% C 0.184 H 128.3°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#BAF564
RGBrgb(186, 245, 100)
HSLhsl(84, 88%, 68%)
HSVhsv(84, 59%, 96%)
CMYKcmyk(24.1%, 0%, 59.2%, 3.9%)
CIE-LABlab(90.17, -40.45, 62.33)
CIE-LCHlch(90.17, 74.30, 122.98°)
OKLaboklab(90.14% -0.1142 0.1446)
OKLCHoklch(90.14% 0.184 128.3)
XYZxyz(55.2021, 76.6629, 23.9432)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF564 #9F64F5
analogous
#F5E864 #BAF564 #71F564
triadic
#BAF564 #64BAF5 #F564BA
tetradic
#BAF564 #64F5E8 #9F64F5 #F56471
square
#BAF564 #64F5E8 #9F64F5 #F56471
split-complementary
#BAF564 #6471F5 #E864F5
monochromatic
#82D10D #A0F12B #BAF564 #D4F99D #EDFCD7

Accessibility & contrast

On white

1.29
#BAF564 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#BAF564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF564
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF564#FFFFFF#000000##000000
##BAF5641.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE554
Deuteranopia (green-blind)
#F8E26E
Tritanopia (blue-blind)
#BFEBD6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf564;
/* rgb */ color: rgb(186, 245, 100);
/* oklch */ color: oklch(90.1% 0.184 128.3);
Tailwind
colors: {
  custom: {
    50: '#d2f895',
    500: '#baf564',
    950: '#000000',
  },
}
SCSS
$custom: #baf564;
$custom-light: #d2f895;
$custom-dark: #000000;
JSON
{
  "hex": "#baf564",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 100
  },
  "hsl": {
    "h": 84.414,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90139,
    "c": 0.18422,
    "h": 128.3
  },
  "luminance": 0.76664
}

Semantic roles & 50–950 ramp

primary
#BAF564
secondary
#7031CC
accent
#01E45E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF564

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

Preview Lab → · Contrast checker → · Palette generator →

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