#BAF082#BAF082

#BAF082 is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.4% C 0.150 H 130.4°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#BAF082
RGBrgb(186, 240, 130)
HSLhsl(89, 79%, 73%)
HSVhsv(89, 46%, 94%)
CMYKcmyk(22.5%, 0%, 45.8%, 5.9%)
CIE-LABlab(89.10, -35.24, 47.47)
CIE-LCHlch(89.10, 59.13, 126.59°)
OKLaboklab(89.38% -0.0975 0.1146)
OKLCHoklch(89.38% 0.15 130.4)
XYZxyz(55.4383, 74.3698, 32.5488)
Luminance0.7437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF082 #B882F0
analogous
#F0EF82 #BAF082 #83F082
triadic
#BAF082 #82BAF0 #F082BA
tetradic
#BAF082 #82F0EF #B882F0 #F08283
square
#BAF082 #82F0EF #B882F0 #F08283
split-complementary
#BAF082 #8283F0 #EF82F0
monochromatic
#7EDD1B #9CE94B #BAF082 #D8F7B9 #F0FCE4

Accessibility & contrast

On white

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

On black

15.87
#BAF082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF082
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF082#FFFFFF#000000##000000
##BAF0821.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf082;
/* rgb */ color: rgb(186, 240, 130);
/* oklch */ color: oklch(89.4% 0.150 130.4);
Tailwind
colors: {
  custom: {
    50: '#d1f5a8',
    500: '#baf082',
    950: '#000000',
  },
}
SCSS
$custom: #baf082;
$custom-light: #d1f5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf082",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 130
  },
  "hsl": {
    "h": 89.455,
    "s": 78.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89379,
    "c": 0.15047,
    "h": 130.4
  },
  "luminance": 0.74371
}

Semantic roles & 50–950 ramp

primary
#BAF082
secondary
#8A4BCB
accent
#0BDB71
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF082

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

Preview Lab → · Contrast checker → · Palette generator →

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