#BAD54D#BAD54D

#BAD54D is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.7% C 0.162 H 119.7°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#BAD54D
RGBrgb(186, 213, 77)
HSLhsl(72, 62%, 57%)
HSVhsv(72, 64%, 84%)
CMYKcmyk(12.7%, 0%, 63.8%, 16.5%)
CIE-LABlab(81.05, -27.52, 61.94)
CIE-LCHlch(81.05, 67.78, 113.96°)
OKLaboklab(82.72% -0.0804 0.141)
OKLCHoklch(82.72% 0.162 119.7)
XYZxyz(45.3842, 58.5636, 15.9328)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD54D #684DD5
analogous
#D5AC4D #BAD54D #76D54D
triadic
#BAD54D #4DBAD5 #D54DBA
tetradic
#BAD54D #4DD5AC #684DD5 #D54D76
square
#BAD54D #4DD5AC #684DD5 #D54D76
split-complementary
#BAD54D #4D76D5 #AC4DD5
monochromatic
#738820 #9DB92C #BAD54D #CDE17F #E0ECB0

Accessibility & contrast

On white

1.65
#BAD54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#BAD54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD54D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD54D#FFFFFF#000000##000000
##BAD54D1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93B
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#C4CAB9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #bad54d;
/* rgb */ color: rgb(186, 213, 77);
/* oklch */ color: oklch(82.7% 0.162 119.7);
Tailwind
colors: {
  custom: {
    50: '#d2e285',
    500: '#bad54d',
    950: '#000000',
  },
}
SCSS
$custom: #bad54d;
$custom-light: #d2e285;
$custom-dark: #000000;
JSON
{
  "hex": "#bad54d",
  "rgb": {
    "r": 186,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 71.912,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8272,
    "c": 0.16227,
    "h": 119.7
  },
  "luminance": 0.58563
}

Semantic roles & 50–950 ramp

primary
#BAD54D
secondary
#49388E
accent
#43E563
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #BAD54D

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

Preview Lab → · Contrast checker → · Palette generator →

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