#BAD751#BAD751

#BAD751 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.2% C 0.162 H 120.4°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#BAD751
RGBrgb(186, 215, 81)
HSLhsl(73, 63%, 58%)
HSVhsv(73, 62%, 84%)
CMYKcmyk(13.5%, 0%, 62.3%, 15.7%)
CIE-LABlab(81.64, -28.19, 60.93)
CIE-LCHlch(81.64, 67.13, 114.83°)
OKLaboklab(83.2% -0.0819 0.1394)
OKLCHoklch(83.2% 0.162 120.4)
XYZxyz(46.0360, 59.6342, 16.8683)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD751 #6E51D7
analogous
#D7B151 #BAD751 #77D751
triadic
#BAD751 #51BAD7 #D751BA
tetradic
#BAD751 #51D7B1 #6E51D7 #D75177
square
#BAD751 #51D7B1 #6E51D7 #D75177
split-complementary
#BAD751 #5177D7 #B151D7
monochromatic
#768D20 #9FBF2C #BAD751 #CEE283 #E1EEB5

Accessibility & contrast

On white

1.62
#BAD751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#BAD751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD751
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD751#FFFFFF#000000##000000
##BAD7511.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB40
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#C4CCBB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #bad751;
/* rgb */ color: rgb(186, 215, 81);
/* oklch */ color: oklch(83.2% 0.162 120.4);
Tailwind
colors: {
  custom: {
    50: '#d2e388',
    500: '#bad751',
    950: '#000000',
  },
}
SCSS
$custom: #bad751;
$custom-light: #d2e388;
$custom-dark: #000000;
JSON
{
  "hex": "#bad751",
  "rgb": {
    "r": 186,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 72.985,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83203,
    "c": 0.16164,
    "h": 120.4
  },
  "luminance": 0.59634
}

Semantic roles & 50–950 ramp

primary
#BAD751
secondary
#4D3993
accent
#42E666
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD751

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

Preview Lab → · Contrast checker → · Palette generator →

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