#BAD740#BAD740

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

Color values

HEX#BAD740
RGBrgb(186, 215, 64)
HSLhsl(72, 65%, 55%)
HSVhsv(72, 70%, 84%)
CMYKcmyk(13.5%, 0%, 70.2%, 15.7%)
CIE-LABlab(81.52, -29.26, 67.38)
CIE-LCHlch(81.52, 73.46, 113.48°)
OKLaboklab(83.07% -0.0864 0.1505)
OKLCHoklch(83.07% 0.174 119.9)
XYZxyz(45.4764, 59.4103, 13.9211)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD740 #5D40D7
analogous
#D7A840 #BAD740 #6FD740
triadic
#BAD740 #40BAD7 #D740BA
tetradic
#BAD740 #40D7A8 #5D40D7 #D7406F
square
#BAD740 #40D7A8 #5D40D7 #D7406F
split-complementary
#BAD740 #406FD7 #A840D7
monochromatic
#6E811B #99B426 #BAD740 #CCE273 #DFECA5

Accessibility & contrast

On white

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

On black

12.88
#BAD740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD740
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD740#FFFFFF#000000##000000
##BAD7401.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB26
Deuteranopia (green-blind)
#E1CB4C
Tritanopia (blue-blind)
#C4CCB9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #bad740;
/* rgb */ color: rgb(186, 215, 64);
/* oklch */ color: oklch(83.1% 0.174 119.9);
Tailwind
colors: {
  custom: {
    50: '#d2e37e',
    500: '#bad740',
    950: '#000000',
  },
}
SCSS
$custom: #bad740;
$custom-light: #d2e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#bad740",
  "rgb": {
    "r": 186,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 71.523,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83065,
    "c": 0.17354,
    "h": 119.9
  },
  "luminance": 0.5941
}

Semantic roles & 50–950 ramp

primary
#BAD740
secondary
#433388
accent
#3FE860
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD740

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

Preview Lab → · Contrast checker → · Palette generator →

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