#BADF42#BADF42

#BADF42 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.9% C 0.182 H 122.0°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#BADF42
RGBrgb(186, 223, 66)
HSLhsl(74, 71%, 57%)
HSVhsv(74, 70%, 87%)
CMYKcmyk(16.6%, 0%, 70.4%, 12.5%)
CIE-LABlab(83.76, -32.88, 68.89)
CIE-LCHlch(83.76, 76.33, 115.52°)
OKLaboklab(84.88% -0.0962 0.154)
OKLCHoklch(84.88% 0.182 122)
XYZxyz(47.6214, 63.6077, 14.9219)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF42 #6742DF
analogous
#DFB642 #BADF42 #6CDF42
triadic
#BADF42 #42BADF #DF42BA
tetradic
#BADF42 #42DFB6 #6742DF #DF426C
square
#BADF42 #42DFB6 #6742DF #DF426C
split-complementary
#BADF42 #426CDF #B642DF
monochromatic
#738E18 #9DC321 #BADF42 #CDE876 #E0F1AB

Accessibility & contrast

On white

1.53
#BADF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#BADF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF42
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF42#FFFFFF#000000##000000
##BADF421.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD227
Deuteranopia (green-blind)
#E8D14F
Tritanopia (blue-blind)
#C4D4C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #badf42;
/* rgb */ color: rgb(186, 223, 66);
/* oklch */ color: oklch(84.9% 0.182 122.0);
Tailwind
colors: {
  custom: {
    50: '#d2e980',
    500: '#badf42',
    950: '#000000',
  },
}
SCSS
$custom: #badf42;
$custom-light: #d2e980;
$custom-dark: #000000;
JSON
{
  "hex": "#badf42",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 74.14,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84879,
    "c": 0.18157,
    "h": 122
  },
  "luminance": 0.63608
}

Semantic roles & 50–950 ramp

primary
#BADF42
secondary
#493294
accent
#3AEE64
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #BADF42

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

Preview Lab → · Contrast checker → · Palette generator →

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