#BAD942#BAD942

#BAD942 is a very light, vivid yellow-green. Relative luminance 0.605; OKLCH L 83.5% C 0.175 H 120.5°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#BAD942
RGBrgb(186, 217, 66)
HSLhsl(72, 67%, 55%)
HSVhsv(72, 70%, 85%)
CMYKcmyk(14.3%, 0%, 69.6%, 14.9%)
CIE-LABlab(82.09, -30.09, 67.22)
CIE-LCHlch(82.09, 73.65, 114.11°)
OKLaboklab(83.53% -0.0885 0.1505)
OKLCHoklch(83.53% 0.175 120.5)
XYZxyz(46.0467, 60.4583, 14.3970)
Luminance0.6046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD942 #6142D9
analogous
#D9AD42 #BAD942 #6ED942
triadic
#BAD942 #42BAD9 #D942BA
tetradic
#BAD942 #42D9AD #6142D9 #D9426E
square
#BAD942 #42D9AD #6142D9 #D9426E
split-complementary
#BAD942 #426ED9 #AD42D9
monochromatic
#70861B #9AB925 #BAD942 #CDE375 #DFEDA8

Accessibility & contrast

On white

1.60
#BAD942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#BAD942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD942
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD942#FFFFFF#000000##000000
##BAD9421.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD29
Deuteranopia (green-blind)
#E3CC4E
Tritanopia (blue-blind)
#C4CEBB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #bad942;
/* rgb */ color: rgb(186, 217, 66);
/* oklch */ color: oklch(83.5% 0.175 120.5);
Tailwind
colors: {
  custom: {
    50: '#d2e47f',
    500: '#bad942',
    950: '#000000',
  },
}
SCSS
$custom: #bad942;
$custom-light: #d2e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#bad942",
  "rgb": {
    "r": 186,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 72.318,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83528,
    "c": 0.17459,
    "h": 120.5
  },
  "luminance": 0.60458
}

Semantic roles & 50–950 ramp

primary
#BAD942
secondary
#45338C
accent
#3EE961
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD942

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

Preview Lab → · Contrast checker → · Palette generator →

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