#BAD151#BAD151

#BAD151 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.9% C 0.154 H 118.6°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#BAD151
RGBrgb(186, 209, 81)
HSLhsl(71, 58%, 57%)
HSVhsv(71, 61%, 82%)
CMYKcmyk(11%, 0%, 61.2%, 18%)
CIE-LABlab(79.97, -25.32, 59.13)
CIE-LCHlch(79.97, 64.32, 113.19°)
OKLaboklab(81.86% -0.0738 0.1356)
OKLCHoklch(81.86% 0.154 118.6)
XYZxyz(44.5361, 56.6344, 16.3683)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD151 #6851D1
analogous
#D1A851 #BAD151 #7AD151
triadic
#BAD151 #51BAD1 #D151BA
tetradic
#BAD151 #51D1A8 #6851D1 #D1517A
square
#BAD151 #51D1A8 #6851D1 #D1517A
split-complementary
#BAD151 #517AD1 #A851D1
monochromatic
#738523 #9DB530 #BAD151 #CDDE81 #E0EBB2

Accessibility & contrast

On white

1.70
#BAD151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#BAD151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD151
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD151#FFFFFF#000000##000000
##BAD1511.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#C4C6B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #bad151;
/* rgb */ color: rgb(186, 209, 81);
/* oklch */ color: oklch(81.9% 0.154 118.6);
Tailwind
colors: {
  custom: {
    50: '#d1df87',
    500: '#bad151',
    950: '#000000',
  },
}
SCSS
$custom: #bad151;
$custom-light: #d1df87;
$custom-dark: #000000;
JSON
{
  "hex": "#bad151",
  "rgb": {
    "r": 186,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 70.781,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81864,
    "c": 0.15439,
    "h": 118.6
  },
  "luminance": 0.56634
}

Semantic roles & 50–950 ramp

primary
#BAD151
secondary
#493B8B
accent
#46E162
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BAD151

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

Preview Lab → · Contrast checker → · Palette generator →

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