#BAF382#BAF382

#BAF382 is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 90.1% C 0.155 H 130.9°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#BAF382
RGBrgb(186, 243, 130)
HSLhsl(90, 82%, 73%)
HSVhsv(90, 47%, 95%)
CMYKcmyk(23.5%, 0%, 46.5%, 4.7%)
CIE-LABlab(89.93, -36.61, 48.50)
CIE-LCHlch(89.93, 60.77, 127.04°)
OKLaboklab(90.05% -0.1013 0.1169)
OKLCHoklch(90.05% 0.155 130.9)
XYZxyz(56.3288, 76.1507, 32.8456)
Luminance0.7615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF382 #BB82F3
analogous
#F3F382 #BAF382 #82F382
triadic
#BAF382 #82BAF3 #F382BA
tetradic
#BAF382 #82F3F3 #BB82F3 #F38282
square
#BAF382 #82F3F3 #BB82F3 #F38282
split-complementary
#BAF382 #8282F3 #F382F3
monochromatic
#7CE516 #9BEE4A #BAF382 #D9F8BA #F0FCE3

Accessibility & contrast

On white

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

On black

16.23
#BAF382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF382
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF382#FFFFFF#000000##000000
##BAF3821.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE579
Deuteranopia (green-blind)
#F4E189
Tritanopia (blue-blind)
#BDEBD8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf382;
/* rgb */ color: rgb(186, 243, 130);
/* oklch */ color: oklch(90.1% 0.155 130.9);
Tailwind
colors: {
  custom: {
    50: '#d1f7a8',
    500: '#baf382',
    950: '#000000',
  },
}
SCSS
$custom: #baf382;
$custom-light: #d1f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf382",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 130
  },
  "hsl": {
    "h": 90.265,
    "s": 82.482,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90051,
    "c": 0.15468,
    "h": 130.9
  },
  "luminance": 0.76152
}

Semantic roles & 50–950 ramp

primary
#BAF382
secondary
#8D4BCF
accent
#07DF74
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF382

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

Preview Lab → · Contrast checker → · Palette generator →

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