#BAD052#BAD052

#BAD052 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.7% C 0.152 H 118.3°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#BAD052
RGBrgb(186, 208, 82)
HSLhsl(70, 57%, 57%)
HSVhsv(70, 61%, 82%)
CMYKcmyk(10.6%, 0%, 60.6%, 18.4%)
CIE-LABlab(79.70, -24.77, 58.41)
CIE-LCHlch(79.70, 63.45, 112.98°)
OKLaboklab(81.65% -0.0722 0.1342)
OKLCHoklch(81.65% 0.152 118.3)
XYZxyz(44.3293, 56.1604, 16.4858)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD052 #6852D0
analogous
#D0A752 #BAD052 #7BD052
triadic
#BAD052 #52BAD0 #D052BA
tetradic
#BAD052 #52D0A7 #6852D0 #D0527B
square
#BAD052 #52D0A7 #6852D0 #D0527B
split-complementary
#BAD052 #527BD0 #A752D0
monochromatic
#738424 #9DB431 #BAD052 #CDDD82 #E0EAB2

Accessibility & contrast

On white

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

On black

12.23
#BAD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD052
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD052#FFFFFF#000000##000000
##BAD0521.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC543
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#C4C5B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad052;
/* rgb */ color: rgb(186, 208, 82);
/* oklch */ color: oklch(81.7% 0.152 118.3);
Tailwind
colors: {
  custom: {
    50: '#d1de88',
    500: '#bad052',
    950: '#000000',
  },
}
SCSS
$custom: #bad052;
$custom-light: #d1de88;
$custom-dark: #000000;
JSON
{
  "hex": "#bad052",
  "rgb": {
    "r": 186,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 70.476,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81651,
    "c": 0.15238,
    "h": 118.3
  },
  "luminance": 0.5616
}

Semantic roles & 50–950 ramp

primary
#BAD052
secondary
#493B8B
accent
#47E162
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD052

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

Preview Lab → · Contrast checker → · Palette generator →

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