#BAD642#BAD642

#BAD642 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.9% C 0.171 H 119.6°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#BAD642
RGBrgb(186, 214, 66)
HSLhsl(71, 64%, 55%)
HSVhsv(71, 69%, 84%)
CMYKcmyk(13.1%, 0%, 69.2%, 16.1%)
CIE-LABlab(81.25, -28.68, 66.39)
CIE-LCHlch(81.25, 72.32, 113.36°)
OKLaboklab(82.86% -0.0846 0.1487)
OKLCHoklch(82.86% 0.171 119.6)
XYZxyz(45.2805, 58.9258, 14.1416)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD642 #5E42D6
analogous
#D6A842 #BAD642 #70D642
triadic
#BAD642 #42BAD6 #D642BA
tetradic
#BAD642 #42D6A8 #5E42D6 #D64270
square
#BAD642 #42D6A8 #5E42D6 #D64270
split-complementary
#BAD642 #4270D6 #A842D6
monochromatic
#6E821C #99B427 #BAD642 #CCE174 #DFECA7

Accessibility & contrast

On white

1.64
#BAD642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#BAD642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD642
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD642#FFFFFF#000000##000000
##BAD6421.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2A
Deuteranopia (green-blind)
#E0CA4E
Tritanopia (blue-blind)
#C4CBB9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #bad642;
/* rgb */ color: rgb(186, 214, 66);
/* oklch */ color: oklch(82.9% 0.171 119.6);
Tailwind
colors: {
  custom: {
    50: '#d2e27f',
    500: '#bad642',
    950: '#000000',
  },
}
SCSS
$custom: #bad642;
$custom-light: #d2e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#bad642",
  "rgb": {
    "r": 186,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 71.351,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82855,
    "c": 0.17111,
    "h": 119.6
  },
  "luminance": 0.58926
}

Semantic roles & 50–950 ramp

primary
#BAD642
secondary
#443488
accent
#40E760
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD642

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

Preview Lab → · Contrast checker → · Palette generator →

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