#BAD452#BAD452

#BAD452 is a very light, vivid yellow-green. Relative luminance 0.581; OKLCH L 82.5% C 0.157 H 119.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#BAD452
RGBrgb(186, 212, 82)
HSLhsl(72, 60%, 58%)
HSVhsv(72, 61%, 83%)
CMYKcmyk(12.3%, 0%, 61.3%, 16.9%)
CIE-LABlab(80.81, -26.69, 59.62)
CIE-LCHlch(80.81, 65.32, 114.12°)
OKLaboklab(82.54% -0.0776 0.1367)
OKLCHoklch(82.54% 0.157 119.6)
XYZxyz(45.3168, 58.1355, 16.8149)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD452 #6C52D4
analogous
#D4AD52 #BAD452 #79D452
triadic
#BAD452 #52BAD4 #D452BA
tetradic
#BAD452 #52D4AD #6C52D4 #D45279
square
#BAD452 #52D4AD #6C52D4 #D45279
split-complementary
#BAD452 #5279D4 #AD52D4
monochromatic
#758922 #9EBA2E #BAD452 #CEE083 #E1ECB4

Accessibility & contrast

On white

1.66
#BAD452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#BAD452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD452
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD452#FFFFFF#000000##000000
##BAD4521.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#C4C9B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #bad452;
/* rgb */ color: rgb(186, 212, 82);
/* oklch */ color: oklch(82.5% 0.157 119.6);
Tailwind
colors: {
  custom: {
    50: '#d1e188',
    500: '#bad452',
    950: '#000000',
  },
}
SCSS
$custom: #bad452;
$custom-light: #d1e188;
$custom-dark: #000000;
JSON
{
  "hex": "#bad452",
  "rgb": {
    "r": 186,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 72,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82542,
    "c": 0.15721,
    "h": 119.6
  },
  "luminance": 0.58135
}

Semantic roles & 50–950 ramp

primary
#BAD452
secondary
#4C3B90
accent
#44E364
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD452

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

Preview Lab → · Contrast checker → · Palette generator →

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