#BAF560#BAF560

#BAF560 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.1% C 0.187 H 128.0°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#BAF560
RGBrgb(186, 245, 96)
HSLhsl(84, 88%, 67%)
HSVhsv(84, 61%, 96%)
CMYKcmyk(24.1%, 0%, 60.8%, 3.9%)
CIE-LABlab(90.13, -40.77, 63.96)
CIE-LCHlch(90.13, 75.85, 122.52°)
OKLaboklab(90.1% -0.1154 0.1476)
OKLCHoklch(90.1% 0.187 128)
XYZxyz(55.0133, 76.5874, 22.9485)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF560 #9B60F5
analogous
#F5E560 #BAF560 #70F560
triadic
#BAF560 #60BAF5 #F560BA
tetradic
#BAF560 #60F5E5 #9B60F5 #F56070
square
#BAF560 #60F5E5 #9B60F5 #F56070
split-complementary
#BAF560 #6070F5 #E560F5
monochromatic
#81CE0D #A1F126 #BAF560 #D3F99A #ECFCD3

Accessibility & contrast

On white

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

On black

16.32
#BAF560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF560
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF560#FFFFFF#000000##000000
##BAF5601.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE54F
Deuteranopia (green-blind)
#F8E26B
Tritanopia (blue-blind)
#C0EBD6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf560;
/* rgb */ color: rgb(186, 245, 96);
/* oklch */ color: oklch(90.1% 0.187 128.0);
Tailwind
colors: {
  custom: {
    50: '#d2f893',
    500: '#baf560',
    950: '#000000',
  },
}
SCSS
$custom: #baf560;
$custom-light: #d2f893;
$custom-dark: #000000;
JSON
{
  "hex": "#baf560",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 96
  },
  "hsl": {
    "h": 83.758,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.901,
    "c": 0.18738,
    "h": 128
  },
  "luminance": 0.76588
}

Semantic roles & 50–950 ramp

primary
#BAF560
secondary
#6D30C9
accent
#01E55B
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF560

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

Preview Lab → · Contrast checker → · Palette generator →

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