#BAD172#BAD172

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

Color values

HEX#BAD172
RGBrgb(186, 209, 114)
HSLhsl(75, 51%, 63%)
HSVhsv(75, 45%, 82%)
CMYKcmyk(11%, 0%, 45.5%, 18%)
CIE-LABlab(80.32, -22.37, 44.36)
CIE-LCHlch(80.32, 49.68, 116.76°)
OKLaboklab(82.26% -0.0625 0.1067)
OKLCHoklch(82.26% 0.124 120.4)
XYZxyz(46.0876, 57.2550, 24.5397)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD172 #8972D1
analogous
#D1B872 #BAD172 #8AD172
triadic
#BAD172 #72BAD1 #D172BA
tetradic
#BAD172 #72D1B8 #8972D1 #D1728A
square
#BAD172 #72D1B8 #8972D1 #D1728A
split-complementary
#BAD172 #728AD1 #B872D1
monochromatic
#7F9731 #A3C244 #BAD172 #D1E0A0 #E7EFCE

Accessibility & contrast

On white

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

On black

12.45
#BAD172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD172
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD172#FFFFFF#000000##000000
##BAD1721.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad172;
/* rgb */ color: rgb(186, 209, 114);
/* oklch */ color: oklch(82.3% 0.124 120.4);
Tailwind
colors: {
  custom: {
    50: '#d0df9c',
    500: '#bad172',
    950: '#000000',
  },
}
SCSS
$custom: #bad172;
$custom-light: #d0df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#bad172",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 74.526,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82257,
    "c": 0.12368,
    "h": 120.4
  },
  "luminance": 0.57255
}

Semantic roles & 50–950 ramp

primary
#BAD172
secondary
#5E4A9D
accent
#27BE4C
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #BAD172

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

Preview Lab → · Contrast checker → · Palette generator →

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