#BAD371#BAD371

#BAD371 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.7% C 0.127 H 121.0°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#BAD371
RGBrgb(186, 211, 113)
HSLhsl(75, 53%, 64%)
HSVhsv(75, 46%, 83%)
CMYKcmyk(11.8%, 0%, 46.4%, 17.3%)
CIE-LABlab(80.86, -23.45, 45.51)
CIE-LCHlch(80.86, 51.20, 117.26°)
OKLaboklab(82.68% -0.0656 0.1092)
OKLCHoklch(82.68% 0.127 121)
XYZxyz(46.5248, 58.2199, 24.4061)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD371 #8A71D3
analogous
#D3BB71 #BAD371 #89D371
triadic
#BAD371 #71BAD3 #D371BA
tetradic
#BAD371 #71D3BB #8A71D3 #D37189
square
#BAD371 #71D3BB #8A71D3 #D37189
split-complementary
#BAD371 #7189D3 #BB71D3
monochromatic
#7F9A30 #A3C542 #BAD371 #D1E1A0 #E7F0CE

Accessibility & contrast

On white

1.66
#BAD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#BAD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD371
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD371#FFFFFF#000000##000000
##BAD3711.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#DAC976
Tritanopia (blue-blind)
#C2CABC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #bad371;
/* rgb */ color: rgb(186, 211, 113);
/* oklch */ color: oklch(82.7% 0.127 121.0);
Tailwind
colors: {
  custom: {
    50: '#d0e09c',
    500: '#bad371',
    950: '#000000',
  },
}
SCSS
$custom: #bad371;
$custom-light: #d0e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#bad371",
  "rgb": {
    "r": 186,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 75.306,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82684,
    "c": 0.12742,
    "h": 121
  },
  "luminance": 0.5822
}

Semantic roles & 50–950 ramp

primary
#BAD371
secondary
#5F499F
accent
#25C04D
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #BAD371

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

Preview Lab → · Contrast checker → · Palette generator →

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