#BAD271#BAD271

#BAD271 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.5% C 0.126 H 120.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#BAD271
RGBrgb(186, 210, 113)
HSLhsl(75, 52%, 63%)
HSVhsv(75, 46%, 82%)
CMYKcmyk(11.4%, 0%, 46.2%, 17.6%)
CIE-LABlab(80.59, -22.97, 45.17)
CIE-LCHlch(80.59, 50.68, 116.95°)
OKLaboklab(82.46% -0.0643 0.1085)
OKLCHoklch(82.46% 0.126 120.6)
XYZxyz(46.2771, 57.7246, 24.3236)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD271 #8971D2
analogous
#D2B971 #BAD271 #89D271
triadic
#BAD271 #71BAD2 #D271BA
tetradic
#BAD271 #71D2B9 #8971D2 #D27189
square
#BAD271 #71D2B9 #8971D2 #D27189
split-complementary
#BAD271 #7189D2 #B971D2
monochromatic
#7F9830 #A3C343 #BAD271 #D1E19F #E7EFCE

Accessibility & contrast

On white

1.67
#BAD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#BAD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD271
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD271#FFFFFF#000000##000000
##BAD2711.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#D9C876
Tritanopia (blue-blind)
#C2C9BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #bad271;
/* rgb */ color: rgb(186, 210, 113);
/* oklch */ color: oklch(82.5% 0.126 120.6);
Tailwind
colors: {
  custom: {
    50: '#d0df9c',
    500: '#bad271',
    950: '#000000',
  },
}
SCSS
$custom: #bad271;
$custom-light: #d0df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#bad271",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 74.845,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82463,
    "c": 0.12607,
    "h": 120.6
  },
  "luminance": 0.57725
}

Semantic roles & 50–950 ramp

primary
#BAD271
secondary
#5E4A9E
accent
#26BF4C
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #BAD271

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

Preview Lab → · Contrast checker → · Palette generator →

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