#BAF481#BAF481

#BAF481 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.3% C 0.157 H 130.9°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#BAF481
RGBrgb(186, 244, 129)
HSLhsl(90, 84%, 73%)
HSVhsv(90, 47%, 96%)
CMYKcmyk(23.8%, 0%, 47.1%, 4.3%)
CIE-LABlab(90.19, -37.17, 49.30)
CIE-LCHlch(90.19, 61.75, 127.01°)
OKLaboklab(90.26% -0.1029 0.1187)
OKLCHoklch(90.26% 0.157 130.9)
XYZxyz(56.5621, 76.7242, 32.5938)
Luminance0.7672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF481 #BB81F4
analogous
#F3F481 #BAF481 #81F481
triadic
#BAF481 #81BAF4 #F481BA
tetradic
#BAF481 #81F3F4 #BB81F4 #F48181
square
#BAF481 #81F3F4 #BB81F4 #F48181
split-complementary
#BAF481 #8181F4 #F481F3
monochromatic
#7CE614 #9BEF49 #BAF481 #D9F9B9 #F0FDE3

Accessibility & contrast

On white

1.28
#BAF481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.35
#BAF481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF481
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF481#FFFFFF#000000##000000
##BAF4811.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE677
Deuteranopia (green-blind)
#F5E188
Tritanopia (blue-blind)
#BDECD9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf481;
/* rgb */ color: rgb(186, 244, 129);
/* oklch */ color: oklch(90.3% 0.157 130.9);
Tailwind
colors: {
  custom: {
    50: '#d1f8a8',
    500: '#baf481',
    950: '#000000',
  },
}
SCSS
$custom: #baf481;
$custom-light: #d1f8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf481",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 129
  },
  "hsl": {
    "h": 90.261,
    "s": 83.942,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90261,
    "c": 0.15706,
    "h": 130.9
  },
  "luminance": 0.76725
}

Semantic roles & 50–950 ramp

primary
#BAF481
secondary
#8D49D0
accent
#05E074
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF481

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

Preview Lab → · Contrast checker → · Palette generator →

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