#BAD871#BAD871

#BAD871 is a very light, vivid yellow-green. Relative luminance 0.607; OKLCH L 83.8% C 0.134 H 122.7°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#BAD871
RGBrgb(186, 216, 113)
HSLhsl(77, 57%, 65%)
HSVhsv(77, 48%, 85%)
CMYKcmyk(13.9%, 0%, 47.7%, 15.3%)
CIE-LABlab(82.24, -25.87, 47.20)
CIE-LCHlch(82.24, 53.82, 118.73°)
OKLaboklab(83.79% -0.0724 0.1129)
OKLCHoklch(83.79% 0.134 122.7)
XYZxyz(47.7863, 60.7430, 24.8267)
Luminance0.6074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD871 #8F71D8
analogous
#D8C371 #BAD871 #87D871
triadic
#BAD871 #71BAD8 #D871BA
tetradic
#BAD871 #71D8C3 #8F71D8 #D87187
square
#BAD871 #71D8C3 #8F71D8 #D87187
split-complementary
#BAD871 #7187D8 #C371D8
monochromatic
#80A22D #A3CB41 #BAD871 #D1E5A1 #E9F2D1

Accessibility & contrast

On white

1.60
#BAD871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#BAD871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD871
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD871#FFFFFF#000000##000000
##BAD8711.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD68
Deuteranopia (green-blind)
#DECC77
Tritanopia (blue-blind)
#C1CFC0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #bad871;
/* rgb */ color: rgb(186, 216, 113);
/* oklch */ color: oklch(83.8% 0.134 122.7);
Tailwind
colors: {
  custom: {
    50: '#d0e49c',
    500: '#bad871',
    950: '#000000',
  },
}
SCSS
$custom: #bad871;
$custom-light: #d0e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#bad871",
  "rgb": {
    "r": 186,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 77.476,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83791,
    "c": 0.13418,
    "h": 122.7
  },
  "luminance": 0.60743
}

Semantic roles & 50–950 ramp

primary
#BAD871
secondary
#6347A6
accent
#21C451
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #BAD871

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

Preview Lab → · Contrast checker → · Palette generator →

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