#BAD842#BAD842

#BAD842 is a very light, vivid yellow-green. Relative luminance 0.599; OKLCH L 83.3% C 0.173 H 120.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#BAD842
RGBrgb(186, 216, 66)
HSLhsl(72, 66%, 55%)
HSVhsv(72, 69%, 85%)
CMYKcmyk(13.9%, 0%, 69.4%, 15.3%)
CIE-LABlab(81.81, -29.62, 66.95)
CIE-LCHlch(81.81, 73.21, 113.87°)
OKLaboklab(83.3% -0.0872 0.1499)
OKLCHoklch(83.3% 0.173 120.2)
XYZxyz(45.7897, 59.9443, 14.3114)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD842 #6042D8
analogous
#D8AB42 #BAD842 #6FD842
triadic
#BAD842 #42BAD8 #D842BA
tetradic
#BAD842 #42D8AB #6042D8 #D8426F
square
#BAD842 #42D8AB #6042D8 #D8426F
split-complementary
#BAD842 #426FD8 #AB42D8
monochromatic
#6F841B #9AB726 #BAD842 #CDE275 #DFEDA7

Accessibility & contrast

On white

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

On black

12.99
#BAD842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD842
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD842#FFFFFF#000000##000000
##BAD8421.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC29
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#C4CDBA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #bad842;
/* rgb */ color: rgb(186, 216, 66);
/* oklch */ color: oklch(83.3% 0.173 120.2);
Tailwind
colors: {
  custom: {
    50: '#d2e47f',
    500: '#bad842',
    950: '#000000',
  },
}
SCSS
$custom: #bad842;
$custom-light: #d2e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#bad842",
  "rgb": {
    "r": 186,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 72,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83304,
    "c": 0.17343,
    "h": 120.2
  },
  "luminance": 0.59944
}

Semantic roles & 50–950 ramp

primary
#BAD842
secondary
#45338B
accent
#3FE961
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD842

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

Preview Lab → · Contrast checker → · Palette generator →

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