#BAD062#BAD062

#BAD062 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.8% C 0.138 H 119.0°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#BAD062
RGBrgb(186, 208, 98)
HSLhsl(72, 54%, 60%)
HSVhsv(72, 53%, 82%)
CMYKcmyk(10.6%, 0%, 52.9%, 18.4%)
CIE-LABlab(79.86, -23.46, 51.45)
CIE-LCHlch(79.86, 56.54, 114.51°)
OKLaboklab(81.83% -0.067 0.121)
OKLCHoklch(81.83% 0.138 119)
XYZxyz(45.0107, 56.4330, 20.0744)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD062 #7862D0
analogous
#D0AF62 #BAD062 #83D062
triadic
#BAD062 #62BAD0 #D062BA
tetradic
#BAD062 #62D0AF #7862D0 #D06283
square
#BAD062 #62D0AF #7862D0 #D06283
split-complementary
#BAD062 #6283D0 #AF62D0
monochromatic
#7A8D2A #A2BC38 #BAD062 #CFDE91 #E3ECC0

Accessibility & contrast

On white

1.71
#BAD062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#BAD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD062
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD062#FFFFFF#000000##000000
##BAD0621.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC657
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#C3C6B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad062;
/* rgb */ color: rgb(186, 208, 98);
/* oklch */ color: oklch(81.8% 0.138 119.0);
Tailwind
colors: {
  custom: {
    50: '#d1de92',
    500: '#bad062',
    950: '#000000',
  },
}
SCSS
$custom: #bad062;
$custom-light: #d1de92;
$custom-dark: #000000;
JSON
{
  "hex": "#bad062",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 72,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.81825,
    "c": 0.13831,
    "h": 119
  },
  "luminance": 0.56433
}

Semantic roles & 50–950 ramp

primary
#BAD062
secondary
#534394
accent
#4BDD68
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #BAD062

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

Preview Lab → · Contrast checker → · Palette generator →

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