#BAD451#BAD451

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

Color values

HEX#BAD451
RGBrgb(186, 212, 81)
HSLhsl(72, 60%, 57%)
HSVhsv(72, 62%, 83%)
CMYKcmyk(12.3%, 0%, 61.8%, 16.9%)
CIE-LABlab(80.81, -26.76, 60.03)
CIE-LCHlch(80.81, 65.73, 114.03°)
OKLaboklab(82.53% -0.0779 0.1375)
OKLCHoklch(82.53% 0.158 119.5)
XYZxyz(45.2791, 58.1204, 16.6160)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD451 #6B51D4
analogous
#D4AC51 #BAD451 #79D451
triadic
#BAD451 #51BAD4 #D451BA
tetradic
#BAD451 #51D4AC #6B51D4 #D45179
square
#BAD451 #51D4AC #6B51D4 #D45179
split-complementary
#BAD451 #5179D4 #AC51D4
monochromatic
#748922 #9EBA2E #BAD451 #CDE082 #E1ECB3

Accessibility & contrast

On white

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

On black

12.62
#BAD451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD451
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD451#FFFFFF#000000##000000
##BAD4511.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad451;
/* rgb */ color: rgb(186, 212, 81);
/* oklch */ color: oklch(82.5% 0.158 119.5);
Tailwind
colors: {
  custom: {
    50: '#d1e187',
    500: '#bad451',
    950: '#000000',
  },
}
SCSS
$custom: #bad451;
$custom-light: #d1e187;
$custom-dark: #000000;
JSON
{
  "hex": "#bad451",
  "rgb": {
    "r": 186,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 71.908,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82533,
    "c": 0.158,
    "h": 119.5
  },
  "luminance": 0.5812
}

Semantic roles & 50–950 ramp

primary
#BAD451
secondary
#4B3A8F
accent
#44E464
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD451

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

Preview Lab → · Contrast checker → · Palette generator →

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