#BAD257#BAD257

#BAD257 is a very light, vivid yellow-green. Relative luminance 0.572; OKLCH L 82.1% C 0.151 H 119.1°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#BAD257
RGBrgb(186, 210, 87)
HSLhsl(72, 58%, 58%)
HSVhsv(72, 59%, 82%)
CMYKcmyk(11.4%, 0%, 58.6%, 17.6%)
CIE-LABlab(80.30, -25.35, 56.91)
CIE-LCHlch(80.30, 62.30, 114.01°)
OKLaboklab(82.15% -0.0733 0.1316)
OKLCHoklch(82.15% 0.151 119.1)
XYZxyz(45.0172, 57.2207, 17.6881)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD257 #6F57D2
analogous
#D2AC57 #BAD257 #7CD257
triadic
#BAD257 #57BAD2 #D257BA
tetradic
#BAD257 #57D2AC #6F57D2 #D2577C
square
#BAD257 #57D2AC #6F57D2 #D2577C
split-complementary
#BAD257 #577CD2 #AC57D2
monochromatic
#768A25 #9FBA32 #BAD257 #CEDF87 #E2ECB8

Accessibility & contrast

On white

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

On black

12.44
#BAD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD257
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD257#FFFFFF#000000##000000
##BAD2571.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC749
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#C4C8B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad257;
/* rgb */ color: rgb(186, 210, 87);
/* oklch */ color: oklch(82.1% 0.151 119.1);
Tailwind
colors: {
  custom: {
    50: '#d1df8b',
    500: '#bad257',
    950: '#000000',
  },
}
SCSS
$custom: #bad257;
$custom-light: #d1df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#bad257",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 71.707,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82146,
    "c": 0.15067,
    "h": 119.1
  },
  "luminance": 0.5722
}

Semantic roles & 50–950 ramp

primary
#BAD257
secondary
#4D3D90
accent
#47E165
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD257

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

Preview Lab → · Contrast checker → · Palette generator →

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