#BAF080#BAF080

#BAF080 is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.4% C 0.152 H 130.1°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#BAF080
RGBrgb(186, 240, 128)
HSLhsl(89, 79%, 72%)
HSVhsv(89, 47%, 94%)
CMYKcmyk(22.5%, 0%, 46.7%, 5.9%)
CIE-LABlab(89.07, -35.47, 48.40)
CIE-LCHlch(89.07, 60.00, 126.24°)
OKLaboklab(89.35% -0.0982 0.1166)
OKLCHoklch(89.35% 0.152 130.1)
XYZxyz(55.3054, 74.3167, 31.8486)
Luminance0.7432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF080 #B680F0
analogous
#F0EE80 #BAF080 #82F080
triadic
#BAF080 #80BAF0 #F080BA
tetradic
#BAF080 #80F0EE #B680F0 #F08082
square
#BAF080 #80F0EE #B680F0 #F08082
split-complementary
#BAF080 #8082F0 #EE80F0
monochromatic
#7EDC1A #9CEA49 #BAF080 #D8F6B7 #F0FCE4

Accessibility & contrast

On white

1.32
#BAF080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#BAF080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF080
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF080#FFFFFF#000000##000000
##BAF0801.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E277
Deuteranopia (green-blind)
#F1DE87
Tritanopia (blue-blind)
#BDE8D6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf080;
/* rgb */ color: rgb(186, 240, 128);
/* oklch */ color: oklch(89.4% 0.152 130.1);
Tailwind
colors: {
  custom: {
    50: '#d1f5a7',
    500: '#baf080',
    950: '#000000',
  },
}
SCSS
$custom: #baf080;
$custom-light: #d1f5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf080",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 128
  },
  "hsl": {
    "h": 88.929,
    "s": 78.873,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89351,
    "c": 0.15244,
    "h": 130.1
  },
  "luminance": 0.74318
}

Semantic roles & 50–950 ramp

primary
#BAF080
secondary
#884ACB
accent
#0ADB6F
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF080

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

Preview Lab → · Contrast checker → · Palette generator →

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