#BAD178#BAD178

#BAD178 is a very light, moderate yellow-green. Relative luminance 0.574; OKLCH L 82.3% C 0.117 H 120.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#BAD178
RGBrgb(186, 209, 120)
HSLhsl(76, 49%, 65%)
HSVhsv(76, 43%, 82%)
CMYKcmyk(11%, 0%, 42.6%, 18%)
CIE-LABlab(80.40, -21.71, 41.50)
CIE-LCHlch(80.40, 46.84, 117.62°)
OKLaboklab(82.35% -0.0602 0.1007)
OKLCHoklch(82.35% 0.117 120.9)
XYZxyz(46.4404, 57.3962, 26.3977)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD178 #8F78D1
analogous
#D1BC78 #BAD178 #8ED178
triadic
#BAD178 #78BAD1 #D178BA
tetradic
#BAD178 #78D1BC #8F78D1 #D1788E
square
#BAD178 #78D1BC #8F78D1 #D1788E
split-complementary
#BAD178 #788ED1 #BC78D1
monochromatic
#809A35 #A3C14A #BAD178 #D1E1A6 #E9F0D3

Accessibility & contrast

On white

1.68
#BAD178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#BAD178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD178
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD178#FFFFFF#000000##000000
##BAD1781.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#C1C9BC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad178;
/* rgb */ color: rgb(186, 209, 120);
/* oklch */ color: oklch(82.3% 0.117 120.9);
Tailwind
colors: {
  custom: {
    50: '#d0dfa0',
    500: '#bad178',
    950: '#000000',
  },
}
SCSS
$custom: #bad178;
$custom-light: #d0dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#bad178",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 75.506,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82346,
    "c": 0.11729,
    "h": 120.9
  },
  "luminance": 0.57396
}

Semantic roles & 50–950 ramp

primary
#BAD178
secondary
#634E9F
accent
#29BC4F
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150F
muted
#838480

Preview Lab

Preview with #BAD178

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

Preview Lab → · Contrast checker → · Palette generator →

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