#BAD173#BAD173

#BAD173 is a very light, vivid yellow-green. Relative luminance 0.573; OKLCH L 82.3% C 0.123 H 120.4°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#BAD173
RGBrgb(186, 209, 115)
HSLhsl(75, 51%, 64%)
HSVhsv(75, 45%, 82%)
CMYKcmyk(11%, 0%, 45%, 18%)
CIE-LABlab(80.34, -22.27, 43.89)
CIE-LCHlch(80.34, 49.21, 116.90°)
OKLaboklab(82.27% -0.0621 0.1057)
OKLCHoklch(82.27% 0.123 120.4)
XYZxyz(46.1448, 57.2779, 24.8411)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD173 #8A73D1
analogous
#D1B973 #BAD173 #8BD173
triadic
#BAD173 #73BAD1 #D173BA
tetradic
#BAD173 #73D1B9 #8A73D1 #D1738B
square
#BAD173 #73D1B9 #8A73D1 #D1738B
split-complementary
#BAD173 #738BD1 #B973D1
monochromatic
#7F9832 #A3C245 #BAD173 #D1E0A1 #E7EFCF

Accessibility & contrast

On white

1.69
#BAD173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#BAD173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD173
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD173#FFFFFF#000000##000000
##BAD1731.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC86B
Deuteranopia (green-blind)
#D8C878
Tritanopia (blue-blind)
#C2C8BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad173;
/* rgb */ color: rgb(186, 209, 115);
/* oklch */ color: oklch(82.3% 0.123 120.4);
Tailwind
colors: {
  custom: {
    50: '#d0df9d',
    500: '#bad173',
    950: '#000000',
  },
}
SCSS
$custom: #bad173;
$custom-light: #d0df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#bad173",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 74.681,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82271,
    "c": 0.12264,
    "h": 120.4
  },
  "luminance": 0.57278
}

Semantic roles & 50–950 ramp

primary
#BAD173
secondary
#5F4B9D
accent
#28BE4C
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #BAD173

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

Preview Lab → · Contrast checker → · Palette generator →

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