#BADF52#BADF52

#BADF52 is a very light, vivid yellow-green. Relative luminance 0.638; OKLCH L 85.0% C 0.171 H 122.6°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#BADF52
RGBrgb(186, 223, 82)
HSLhsl(76, 69%, 60%)
HSVhsv(76, 63%, 87%)
CMYKcmyk(16.6%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.87, -31.87, 62.91)
CIE-LCHlch(83.87, 70.53, 116.87°)
OKLaboklab(85.01% -0.092 0.1437)
OKLCHoklch(85.01% 0.171 122.6)
XYZxyz(48.1608, 63.8235, 17.7629)
Luminance0.6382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF52 #7752DF
analogous
#DFBE52 #BADF52 #73DF52
triadic
#BADF52 #52BADF #DF52BA
tetradic
#BADF52 #52DFBE #7752DF #DF5273
square
#BADF52 #52DFBE #7752DF #DF5273
split-complementary
#BADF52 #5273DF #BE52DF
monochromatic
#799A1D #A2CE26 #BADF52 #CFE986 #E3F2B9

Accessibility & contrast

On white

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

On black

13.76
#BADF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF52
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF52#FFFFFF#000000##000000
##BADF521.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#C3D4C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #badf52;
/* rgb */ color: rgb(186, 223, 82);
/* oklch */ color: oklch(85.0% 0.171 122.6);
Tailwind
colors: {
  custom: {
    50: '#d2e989',
    500: '#badf52',
    950: '#000000',
  },
}
SCSS
$custom: #badf52;
$custom-light: #d2e989;
$custom-dark: #000000;
JSON
{
  "hex": "#badf52",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 75.745,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85006,
    "c": 0.17063,
    "h": 122.6
  },
  "luminance": 0.63824
}

Semantic roles & 50–950 ramp

primary
#BADF52
secondary
#52379E
accent
#3CEC6A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #BADF52

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

Preview Lab → · Contrast checker → · Palette generator →

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