#BAD840#BAD840

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

Color values

HEX#BAD840
RGBrgb(186, 216, 64)
HSLhsl(72, 66%, 55%)
HSVhsv(72, 70%, 85%)
CMYKcmyk(13.9%, 0%, 70.4%, 15.3%)
CIE-LABlab(81.80, -29.73, 67.65)
CIE-LCHlch(81.80, 73.90, 113.73°)
OKLaboklab(83.29% -0.0877 0.1511)
OKLCHoklch(83.29% 0.175 120.1)
XYZxyz(45.7318, 59.9212, 14.0062)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD840 #5E40D8
analogous
#D8AA40 #BAD840 #6ED840
triadic
#BAD840 #40BAD8 #D840BA
tetradic
#BAD840 #40D8AA #5E40D8 #D8406E
square
#BAD840 #40D8AA #5E40D8 #D8406E
split-complementary
#BAD840 #406ED8 #AA40D8
monochromatic
#6E831B #99B625 #BAD840 #CCE273 #DFEDA6

Accessibility & contrast

On white

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

On black

12.98
#BAD840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD840
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD840#FFFFFF#000000##000000
##BAD8401.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad840;
/* rgb */ color: rgb(186, 216, 64);
/* oklch */ color: oklch(83.3% 0.175 120.1);
Tailwind
colors: {
  custom: {
    50: '#d2e47e',
    500: '#bad840',
    950: '#000000',
  },
}
SCSS
$custom: #bad840;
$custom-light: #d2e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#bad840",
  "rgb": {
    "r": 186,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 71.842,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8329,
    "c": 0.17469,
    "h": 120.1
  },
  "luminance": 0.59921
}

Semantic roles & 50–950 ramp

primary
#BAD840
secondary
#44338A
accent
#3FE960
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #BAD840

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

Preview Lab → · Contrast checker → · Palette generator →

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