#BAD251#BAD251

#BAD251 is a very light, vivid yellow-green. Relative luminance 0.571; OKLCH L 82.1% C 0.156 H 118.9°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#BAD251
RGBrgb(186, 210, 81)
HSLhsl(71, 59%, 57%)
HSVhsv(71, 61%, 82%)
CMYKcmyk(11.4%, 0%, 61.4%, 17.6%)
CIE-LABlab(80.25, -25.81, 59.43)
CIE-LCHlch(80.25, 64.79, 113.47°)
OKLaboklab(82.09% -0.0752 0.1362)
OKLCHoklch(82.09% 0.156 118.9)
XYZxyz(44.7822, 57.1267, 16.4504)
Luminance0.5713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD251 #6951D2
analogous
#D2AA51 #BAD251 #7AD251
triadic
#BAD251 #51BAD2 #D251BA
tetradic
#BAD251 #51D2AA #6951D2 #D2517A
square
#BAD251 #51D2AA #6951D2 #D2517A
split-complementary
#BAD251 #517AD2 #AA51D2
monochromatic
#738623 #9DB72F #BAD251 #CDDF82 #E1EBB2

Accessibility & contrast

On white

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

On black

12.43
#BAD251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD251
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD251#FFFFFF#000000##000000
##BAD2511.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#C4C7B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #bad251;
/* rgb */ color: rgb(186, 210, 81);
/* oklch */ color: oklch(82.1% 0.156 118.9);
Tailwind
colors: {
  custom: {
    50: '#d1df87',
    500: '#bad251',
    950: '#000000',
  },
}
SCSS
$custom: #bad251;
$custom-light: #d1df87;
$custom-dark: #000000;
JSON
{
  "hex": "#bad251",
  "rgb": {
    "r": 186,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 71.163,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82087,
    "c": 0.15559,
    "h": 118.9
  },
  "luminance": 0.57126
}

Semantic roles & 50–950 ramp

primary
#BAD251
secondary
#4A3B8D
accent
#46E263
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD251

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

Preview Lab → · Contrast checker → · Palette generator →

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