#BADC40#BADC40

#BADC40 is a very light, vivid yellow-green. Relative luminance 0.620; OKLCH L 84.2% C 0.179 H 121.2°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#BADC40
RGBrgb(186, 220, 64)
HSLhsl(73, 69%, 56%)
HSVhsv(73, 71%, 86%)
CMYKcmyk(15.5%, 0%, 70.9%, 13.7%)
CIE-LABlab(82.91, -31.60, 68.75)
CIE-LCHlch(82.91, 75.67, 114.69°)
OKLaboklab(84.19% -0.0928 0.1534)
OKLCHoklch(84.19% 0.179 121.2)
XYZxyz(46.7691, 61.9957, 14.3520)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADC40 #6240DC
analogous
#DCB040 #BADC40 #6CDC40
triadic
#BADC40 #40BADC #DC40BA
tetradic
#BADC40 #40DCB0 #6240DC #DC406C
square
#BADC40 #40DCB0 #6240DC #DC406C
split-complementary
#BADC40 #406CDC #B040DC
monochromatic
#708919 #9BBC23 #BADC40 #CDE574 #DFEFA7

Accessibility & contrast

On white

1.57
#BADC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#BADC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADC40
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADC40#FFFFFF#000000##000000
##BADC401.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF24
Deuteranopia (green-blind)
#E5CF4D
Tritanopia (blue-blind)
#C4D1BE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #badc40;
/* rgb */ color: rgb(186, 220, 64);
/* oklch */ color: oklch(84.2% 0.179 121.2);
Tailwind
colors: {
  custom: {
    50: '#d2e67f',
    500: '#badc40',
    950: '#000000',
  },
}
SCSS
$custom: #badc40;
$custom-light: #d2e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#badc40",
  "rgb": {
    "r": 186,
    "g": 220,
    "b": 64
  },
  "hsl": {
    "h": 73.077,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84189,
    "c": 0.17931,
    "h": 121.2
  },
  "luminance": 0.61996
}

Semantic roles & 50–950 ramp

primary
#BADC40
secondary
#46328F
accent
#3CEC62
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #BADC40

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

Preview Lab → · Contrast checker → · Palette generator →

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