#BAD152#BAD152

#BAD152 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.9% C 0.154 H 118.6°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#BAD152
RGBrgb(186, 209, 82)
HSLhsl(71, 58%, 57%)
HSVhsv(71, 61%, 82%)
CMYKcmyk(11%, 0%, 60.8%, 18%)
CIE-LABlab(79.98, -25.25, 58.71)
CIE-LCHlch(79.98, 63.91, 113.27°)
OKLaboklab(81.87% -0.0735 0.1348)
OKLCHoklch(81.87% 0.154 118.6)
XYZxyz(44.5739, 56.6495, 16.5673)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD152 #6952D1
analogous
#D1A952 #BAD152 #7BD152
triadic
#BAD152 #52BAD1 #D152BA
tetradic
#BAD152 #52D1A9 #6952D1 #D1527B
square
#BAD152 #52D1A9 #6952D1 #D1527B
split-complementary
#BAD152 #527BD1 #A952D1
monochromatic
#738523 #9DB630 #BAD152 #CDDE82 #E1EBB3

Accessibility & contrast

On white

1.70
#BAD152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#BAD152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD152
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD152#FFFFFF#000000##000000
##BAD1521.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#C4C6B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad152;
/* rgb */ color: rgb(186, 209, 82);
/* oklch */ color: oklch(81.9% 0.154 118.6);
Tailwind
colors: {
  custom: {
    50: '#d1df88',
    500: '#bad152',
    950: '#000000',
  },
}
SCSS
$custom: #bad152;
$custom-light: #d1df88;
$custom-dark: #000000;
JSON
{
  "hex": "#bad152",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 70.866,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81874,
    "c": 0.15359,
    "h": 118.6
  },
  "luminance": 0.56649
}

Semantic roles & 50–950 ramp

primary
#BAD152
secondary
#4A3B8C
accent
#47E163
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD152

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

Preview Lab → · Contrast checker → · Palette generator →

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