#BADC52#BADC52

#BADC52 is a very light, vivid yellow-green. Relative luminance 0.622; OKLCH L 84.3% C 0.167 H 121.9°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#BADC52
RGBrgb(186, 220, 82)
HSLhsl(75, 66%, 59%)
HSVhsv(75, 63%, 86%)
CMYKcmyk(15.5%, 0%, 62.7%, 13.7%)
CIE-LABlab(83.04, -30.48, 62.02)
CIE-LCHlch(83.04, 69.10, 116.17°)
OKLaboklab(84.33% -0.0881 0.1418)
OKLCHoklch(84.33% 0.167 121.9)
XYZxyz(47.3664, 62.2346, 17.4981)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADC52 #7452DC
analogous
#DCB952 #BADC52 #75DC52
triadic
#BADC52 #52BADC #DC52BA
tetradic
#BADC52 #52DCB9 #7452DC #DC5275
square
#BADC52 #52DCB9 #7452DC #DC5275
split-complementary
#BADC52 #5275DC #B952DC
monochromatic
#78951E #A1C829 #BADC52 #CEE685 #E3F1B8

Accessibility & contrast

On white

1.56
#BADC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#BADC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADC52
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADC52#FFFFFF#000000##000000
##BADC521.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#C3D1BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #badc52;
/* rgb */ color: rgb(186, 220, 82);
/* oklch */ color: oklch(84.3% 0.167 121.9);
Tailwind
colors: {
  custom: {
    50: '#d2e789',
    500: '#badc52',
    950: '#000000',
  },
}
SCSS
$custom: #badc52;
$custom-light: #d2e789;
$custom-dark: #000000;
JSON
{
  "hex": "#badc52",
  "rgb": {
    "r": 186,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 74.783,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84332,
    "c": 0.16696,
    "h": 121.9
  },
  "luminance": 0.62235
}

Semantic roles & 50–950 ramp

primary
#BADC52
secondary
#50389A
accent
#3FE969
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #BADC52

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

Preview Lab → · Contrast checker → · Palette generator →

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