#BADB42#BADB42

#BADB42 is a very light, vivid yellow-green. Relative luminance 0.615; OKLCH L 84.0% C 0.177 H 121.0°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#BADB42
RGBrgb(186, 219, 66)
HSLhsl(73, 68%, 56%)
HSVhsv(73, 70%, 86%)
CMYKcmyk(15.1%, 0%, 69.9%, 14.1%)
CIE-LABlab(82.64, -31.03, 67.78)
CIE-LCHlch(82.64, 74.54, 114.60°)
OKLaboklab(83.98% -0.0911 0.1517)
OKLCHoklch(83.98% 0.177 121)
XYZxyz(46.5653, 61.4955, 14.5699)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADB42 #6342DB
analogous
#DBAF42 #BADB42 #6DDB42
triadic
#BADB42 #42BADB #DB42BA
tetradic
#BADB42 #42DBAF #6342DB #DB426D
square
#BADB42 #42DBAF #6342DB #DB426D
split-complementary
#BADB42 #426DDB #AF42DB
monochromatic
#71891A #9BBC24 #BADB42 #CDE575 #E0EFA9

Accessibility & contrast

On white

1.58
#BADB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#BADB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADB42
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADB42#FFFFFF#000000##000000
##BADB421.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE28
Deuteranopia (green-blind)
#E4CE4F
Tritanopia (blue-blind)
#C4D0BD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #badb42;
/* rgb */ color: rgb(186, 219, 66);
/* oklch */ color: oklch(84.0% 0.177 121.0);
Tailwind
colors: {
  custom: {
    50: '#d2e680',
    500: '#badb42',
    950: '#000000',
  },
}
SCSS
$custom: #badb42;
$custom-light: #d2e680;
$custom-dark: #000000;
JSON
{
  "hex": "#badb42",
  "rgb": {
    "r": 186,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 72.941,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83978,
    "c": 0.17691,
    "h": 121
  },
  "luminance": 0.61495
}

Semantic roles & 50–950 ramp

primary
#BADB42
secondary
#46338F
accent
#3DEB62
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #BADB42

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

Preview Lab → · Contrast checker → · Palette generator →

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