#BAF982#BAF982

#BAF982 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.4% C 0.163 H 131.8°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#BAF982
RGBrgb(186, 249, 130)
HSLhsl(92, 91%, 74%)
HSVhsv(92, 48%, 98%)
CMYKcmyk(25.3%, 0%, 47.8%, 2.4%)
CIE-LABlab(91.60, -39.30, 50.55)
CIE-LCHlch(91.60, 64.03, 127.86°)
OKLaboklab(91.4% -0.1087 0.1215)
OKLCHoklch(91.4% 0.163 131.8)
XYZxyz(58.1538, 79.8007, 33.4539)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF982 #C182F9
analogous
#F5F982 #BAF982 #82F986
triadic
#BAF982 #82BAF9 #F982BA
tetradic
#BAF982 #82F5F9 #C182F9 #F98682
square
#BAF982 #82F5F9 #C182F9 #F98682
split-complementary
#BAF982 #8682F9 #F982F5
monochromatic
#7AF30D #9AF648 #BAF982 #DAFCBC #EFFEE2

Accessibility & contrast

On white

1.24
#BAF982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#BAF982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF982
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF982#FFFFFF#000000##000000
##BAF9821.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA78
Deuteranopia (green-blind)
#F9E589
Tritanopia (blue-blind)
#BCF1DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf982;
/* rgb */ color: rgb(186, 249, 130);
/* oklch */ color: oklch(91.4% 0.163 131.8);
Tailwind
colors: {
  custom: {
    50: '#d1fba8',
    500: '#baf982',
    950: '#000000',
  },
}
SCSS
$custom: #baf982;
$custom-light: #d1fba8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf982",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 130
  },
  "hsl": {
    "h": 91.765,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91398,
    "c": 0.16305,
    "h": 131.8
  },
  "luminance": 0.79802
}

Semantic roles & 50–950 ramp

primary
#BAF982
secondary
#9449D6
accent
#00E67A
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF982

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

Preview Lab → · Contrast checker → · Palette generator →

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