#BADF54#BADF54

#BADF54 is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 85.0% C 0.169 H 122.7°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#BADF54
RGBrgb(186, 223, 84)
HSLhsl(76, 68%, 60%)
HSVhsv(76, 62%, 87%)
CMYKcmyk(16.6%, 0%, 62.3%, 12.5%)
CIE-LABlab(83.89, -31.73, 62.11)
CIE-LCHlch(83.89, 69.75, 117.06°)
OKLaboklab(85.02% -0.0914 0.1423)
OKLCHoklch(85.02% 0.169 122.7)
XYZxyz(48.2381, 63.8544, 18.1696)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BADF54 #7954DF
analogous
#DFBE54 #BADF54 #75DF54
triadic
#BADF54 #54BADF #DF54BA
tetradic
#BADF54 #54DFBE #7954DF #DF5475
square
#BADF54 #54DFBE #7954DF #DF5475
split-complementary
#BADF54 #5475DF #BE54DF
monochromatic
#7A9C1D #A2CF27 #BADF54 #CFE988 #E4F2BB

Accessibility & contrast

On white

1.52
#BADF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#BADF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BADF54
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BADF54#FFFFFF#000000##000000
##BADF541.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #badf54;
/* rgb */ color: rgb(186, 223, 84);
/* oklch */ color: oklch(85.0% 0.169 122.7);
Tailwind
colors: {
  custom: {
    50: '#d2e98a',
    500: '#badf54',
    950: '#000000',
  },
}
SCSS
$custom: #badf54;
$custom-light: #d2e98a;
$custom-dark: #000000;
JSON
{
  "hex": "#badf54",
  "rgb": {
    "r": 186,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 75.971,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85024,
    "c": 0.16911,
    "h": 122.7
  },
  "luminance": 0.63855
}

Semantic roles & 50–950 ramp

primary
#BADF54
secondary
#53389F
accent
#15D047
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #BADF54

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

Preview Lab → · Contrast checker → · Palette generator →

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