#BAD940#BAD940

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

Color values

HEX#BAD940
RGBrgb(186, 217, 64)
HSLhsl(72, 67%, 55%)
HSVhsv(72, 71%, 85%)
CMYKcmyk(14.3%, 0%, 70.5%, 14.9%)
CIE-LABlab(82.07, -30.20, 67.93)
CIE-LCHlch(82.07, 74.34, 113.97°)
OKLaboklab(83.51% -0.089 0.1517)
OKLCHoklch(83.51% 0.176 120.4)
XYZxyz(45.9888, 60.4351, 14.0919)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD940 #5F40D9
analogous
#D9AC40 #BAD940 #6DD940
triadic
#BAD940 #40BAD9 #D940BA
tetradic
#BAD940 #40D9AC #5F40D9 #D9406D
square
#BAD940 #40D9AC #5F40D9 #D9406D
split-complementary
#BAD940 #406DD9 #AC40D9
monochromatic
#6F841A #9AB724 #BAD940 #CCE373 #DFEDA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD940#FFFFFF#000000##000000
##BAD9401.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)
#E6CC25
Deuteranopia (green-blind)
#E3CC4D
Tritanopia (blue-blind)
#C4CEBB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #bad940;
/* rgb */ color: rgb(186, 217, 64);
/* oklch */ color: oklch(83.5% 0.176 120.4);
Tailwind
colors: {
  custom: {
    50: '#d2e47e',
    500: '#bad940',
    950: '#000000',
  },
}
SCSS
$custom: #bad940;
$custom-light: #d2e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#bad940",
  "rgb": {
    "r": 186,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 72.157,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83514,
    "c": 0.17584,
    "h": 120.4
  },
  "luminance": 0.60435
}

Semantic roles & 50–950 ramp

primary
#BAD940
secondary
#44328B
accent
#3EEA61
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #BAD940

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

Preview Lab → · Contrast checker → · Palette generator →

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