#BAD742#BAD742

#BAD742 is a very light, vivid yellow-green. Relative luminance 0.594; OKLCH L 83.1% C 0.172 H 119.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#BAD742
RGBrgb(186, 215, 66)
HSLhsl(72, 65%, 55%)
HSVhsv(72, 69%, 84%)
CMYKcmyk(13.5%, 0%, 69.3%, 15.7%)
CIE-LABlab(81.53, -29.15, 66.67)
CIE-LCHlch(81.53, 72.76, 113.62°)
OKLaboklab(83.08% -0.0859 0.1493)
OKLCHoklch(83.08% 0.172 119.9)
XYZxyz(45.5343, 59.4335, 14.2262)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD742 #5F42D7
analogous
#D7AA42 #BAD742 #6FD742
triadic
#BAD742 #42BAD7 #D742BA
tetradic
#BAD742 #42D7AA #5F42D7 #D7426F
square
#BAD742 #42D7AA #5F42D7 #D7426F
split-complementary
#BAD742 #426FD7 #AA42D7
monochromatic
#6F831C #9AB526 #BAD742 #CCE275 #DFECA7

Accessibility & contrast

On white

1.63
#BAD742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#BAD742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD742
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD742#FFFFFF#000000##000000
##BAD7421.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2A
Deuteranopia (green-blind)
#E1CB4E
Tritanopia (blue-blind)
#C4CCBA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #bad742;
/* rgb */ color: rgb(186, 215, 66);
/* oklch */ color: oklch(83.1% 0.172 119.9);
Tailwind
colors: {
  custom: {
    50: '#d2e37f',
    500: '#bad742',
    950: '#000000',
  },
}
SCSS
$custom: #bad742;
$custom-light: #d2e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#bad742",
  "rgb": {
    "r": 186,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 71.678,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8308,
    "c": 0.17227,
    "h": 119.9
  },
  "luminance": 0.59433
}

Semantic roles & 50–950 ramp

primary
#BAD742
secondary
#44348A
accent
#40E861
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD742

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

Preview Lab → · Contrast checker → · Palette generator →

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