#BAD04C#BAD04C

#BAD04C is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.6% C 0.157 H 118.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#BAD04C
RGBrgb(186, 208, 76)
HSLhsl(70, 58%, 56%)
HSVhsv(70, 63%, 82%)
CMYKcmyk(10.6%, 0%, 63.5%, 18.4%)
CIE-LABlab(79.66, -25.19, 60.86)
CIE-LCHlch(79.66, 65.87, 112.49°)
OKLaboklab(81.6% -0.074 0.1386)
OKLCHoklch(81.6% 0.157 118.1)
XYZxyz(44.1109, 56.0730, 15.3355)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD04C #624CD0
analogous
#D0A44C #BAD04C #78D04C
triadic
#BAD04C #4CBAD0 #D04CBA
tetradic
#BAD04C #4CD0A4 #624CD0 #D04C78
square
#BAD04C #4CD0A4 #624CD0 #D04C78
split-complementary
#BAD04C #4C78D0 #A44CD0
monochromatic
#708022 #9BB02E #BAD04C #CDDD7C #DFE9AD

Accessibility & contrast

On white

1.72
#BAD04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#BAD04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD04C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD04C#FFFFFF#000000##000000
##BAD04C1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53B
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#C4C5B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #bad04c;
/* rgb */ color: rgb(186, 208, 76);
/* oklch */ color: oklch(81.6% 0.157 118.1);
Tailwind
colors: {
  custom: {
    50: '#d2de84',
    500: '#bad04c',
    950: '#000000',
  },
}
SCSS
$custom: #bad04c;
$custom-light: #d2de84;
$custom-dark: #000000;
JSON
{
  "hex": "#bad04c",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 70,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81595,
    "c": 0.15709,
    "h": 118.1
  },
  "luminance": 0.56073
}

Semantic roles & 50–950 ramp

primary
#BAD04C
secondary
#463987
accent
#46E260
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD04C

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

Preview Lab → · Contrast checker → · Palette generator →

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