#BADB52#BADB52

#BADB52 is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 84.1% C 0.166 H 121.6°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#BADB52
RGBrgb(186, 219, 82)
HSLhsl(74, 66%, 59%)
HSVhsv(74, 63%, 86%)
CMYKcmyk(15.1%, 0%, 62.6%, 14.1%)
CIE-LABlab(82.76, -30.01, 61.72)
CIE-LCHlch(82.76, 68.63, 115.93°)
OKLaboklab(84.11% -0.0868 0.1412)
OKLCHoklch(84.11% 0.166 121.6)
XYZxyz(47.1048, 61.7113, 17.4109)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADB52 #7352DB
analogous
#DBB852 #BADB52 #76DB52
triadic
#BADB52 #52BADB #DB52BA
tetradic
#BADB52 #52DBB8 #7352DB #DB5276
square
#BADB52 #52DBB8 #7352DB #DB5276
split-complementary
#BADB52 #5276DB #B852DB
monochromatic
#78941F #A1C629 #BADB52 #CEE685 #E2F0B7

Accessibility & contrast

On white

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

On black

13.34
#BADB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADB52
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADB52#FFFFFF#000000##000000
##BADB521.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#C3D0BE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #badb52;
/* rgb */ color: rgb(186, 219, 82);
/* oklch */ color: oklch(84.1% 0.166 121.6);
Tailwind
colors: {
  custom: {
    50: '#d2e688',
    500: '#badb52',
    950: '#000000',
  },
}
SCSS
$custom: #badb52;
$custom-light: #d2e688;
$custom-dark: #000000;
JSON
{
  "hex": "#badb52",
  "rgb": {
    "r": 186,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 74.453,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84108,
    "c": 0.16574,
    "h": 121.6
  },
  "luminance": 0.61711
}

Semantic roles & 50–950 ramp

primary
#BADB52
secondary
#503999
accent
#3FE968
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #BADB52

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

Preview Lab → · Contrast checker → · Palette generator →

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