#BAD457#BAD457

#BAD457 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.6% C 0.153 H 119.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#BAD457
RGBrgb(186, 212, 87)
HSLhsl(72, 59%, 59%)
HSVhsv(72, 59%, 83%)
CMYKcmyk(12.3%, 0%, 59%, 16.9%)
CIE-LABlab(80.86, -26.31, 57.53)
CIE-LCHlch(80.86, 63.26, 114.58°)
OKLaboklab(82.59% -0.076 0.1329)
OKLCHoklch(82.59% 0.153 119.8)
XYZxyz(45.5141, 58.2144, 17.8537)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD457 #7157D4
analogous
#D4AF57 #BAD457 #7BD457
triadic
#BAD457 #57BAD4 #D457BA
tetradic
#BAD457 #57D4AF #7157D4 #D4577B
square
#BAD457 #57D4AF #7157D4 #D4577B
split-complementary
#BAD457 #577BD4 #AF57D4
monochromatic
#778D24 #A0BD30 #BAD457 #CEE088 #E2EDB8

Accessibility & contrast

On white

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

On black

12.64
#BAD457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD457
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD457#FFFFFF#000000##000000
##BAD4571.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C949
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#C4CAB9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #bad457;
/* rgb */ color: rgb(186, 212, 87);
/* oklch */ color: oklch(82.6% 0.153 119.8);
Tailwind
colors: {
  custom: {
    50: '#d1e18b',
    500: '#bad457',
    950: '#000000',
  },
}
SCSS
$custom: #bad457;
$custom-light: #d1e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#bad457",
  "rgb": {
    "r": 186,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 72.48,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82591,
    "c": 0.15313,
    "h": 119.8
  },
  "luminance": 0.58214
}

Semantic roles & 50–950 ramp

primary
#BAD457
secondary
#4F3D93
accent
#45E266
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD457

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

Preview Lab → · Contrast checker → · Palette generator →

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