#BAD252#BAD252

#BAD252 is a very light, vivid yellow-green. Relative luminance 0.571; OKLCH L 82.1% C 0.155 H 118.9°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#BAD252
RGBrgb(186, 210, 82)
HSLhsl(71, 59%, 57%)
HSVhsv(71, 61%, 82%)
CMYKcmyk(11.4%, 0%, 61%, 17.6%)
CIE-LABlab(80.26, -25.73, 59.02)
CIE-LCHlch(80.26, 64.38, 113.56°)
OKLaboklab(82.1% -0.0749 0.1355)
OKLCHoklch(82.1% 0.155 118.9)
XYZxyz(44.8200, 57.1418, 16.6493)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD252 #6A52D2
analogous
#D2AA52 #BAD252 #7AD252
triadic
#BAD252 #52BAD2 #D252BA
tetradic
#BAD252 #52D2AA #6A52D2 #D2527A
square
#BAD252 #52D2AA #6A52D2 #D2527A
split-complementary
#BAD252 #527AD2 #AA52D2
monochromatic
#748723 #9EB730 #BAD252 #CDDF83 #E1EBB3

Accessibility & contrast

On white

1.69
#BAD252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#BAD252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD252
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD252#FFFFFF#000000##000000
##BAD2521.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#C4C7B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad252;
/* rgb */ color: rgb(186, 210, 82);
/* oklch */ color: oklch(82.1% 0.155 118.9);
Tailwind
colors: {
  custom: {
    50: '#d1df88',
    500: '#bad252',
    950: '#000000',
  },
}
SCSS
$custom: #bad252;
$custom-light: #d1df88;
$custom-dark: #000000;
JSON
{
  "hex": "#bad252",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 71.25,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82096,
    "c": 0.15479,
    "h": 118.9
  },
  "luminance": 0.57141
}

Semantic roles & 50–950 ramp

primary
#BAD252
secondary
#4A3B8D
accent
#46E263
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD252

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

Preview Lab → · Contrast checker → · Palette generator →

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