#BAF480#BAF480

#BAF480 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.2% C 0.158 H 130.8°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#BAF480
RGBrgb(186, 244, 128)
HSLhsl(90, 84%, 73%)
HSVhsv(90, 48%, 96%)
CMYKcmyk(23.8%, 0%, 47.5%, 4.3%)
CIE-LABlab(90.18, -37.28, 49.76)
CIE-LCHlch(90.18, 62.18, 126.84°)
OKLaboklab(90.25% -0.1033 0.1196)
OKLCHoklch(90.25% 0.158 130.8)
XYZxyz(56.4959, 76.6977, 32.2455)
Luminance0.7670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF480 #BA80F4
analogous
#F4F480 #BAF480 #80F480
triadic
#BAF480 #80BAF4 #F480BA
tetradic
#BAF480 #80F4F4 #BA80F4 #F48080
square
#BAF480 #80F4F4 #BA80F4 #F48080
split-complementary
#BAF480 #8080F4 #F480F4
monochromatic
#7DE614 #9BEF48 #BAF480 #D9F9B8 #F0FDE3

Accessibility & contrast

On white

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

On black

16.34
#BAF480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF480
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF480#FFFFFF#000000##000000
##BAF4801.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf480;
/* rgb */ color: rgb(186, 244, 128);
/* oklch */ color: oklch(90.2% 0.158 130.8);
Tailwind
colors: {
  custom: {
    50: '#d1f8a7',
    500: '#baf480',
    950: '#000000',
  },
}
SCSS
$custom: #baf480;
$custom-light: #d1f8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf480",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 128
  },
  "hsl": {
    "h": 90,
    "s": 84.058,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90248,
    "c": 0.15802,
    "h": 130.8
  },
  "luminance": 0.76699
}

Semantic roles & 50–950 ramp

primary
#BAF480
secondary
#8C48D0
accent
#05E173
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF480

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

Preview Lab → · Contrast checker → · Palette generator →

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