#54AD1C#54AD1C

#54AD1C is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 66.6% C 0.191 H 136.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#54AD1C
RGBrgb(84, 173, 28)
HSLhsl(97, 72%, 39%)
HSVhsv(97, 84%, 68%)
CMYKcmyk(51.4%, 0%, 83.8%, 32.2%)
CIE-LABlab(63.22, -50.11, 59.42)
CIE-LCHlch(63.22, 77.72, 130.14°)
OKLaboklab(66.64% -0.1394 0.1305)
OKLCHoklch(66.64% 0.191 136.9)
XYZxyz(18.8088, 31.8544, 6.2558)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54AD1C #751CAD
analogous
#9CAD1C #54AD1C #1CAD2D
triadic
#54AD1C #1C54AD #AD1C54
tetradic
#54AD1C #1C9CAD #751CAD #AD2D1C
square
#54AD1C #1C9CAD #751CAD #AD2D1C
split-complementary
#54AD1C #2D1CAD #AD1C9C
monochromatic
#21440B #3A7813 #54AD1C #6FDC2A #92E55E

Accessibility & contrast

On white

2.85
#54AD1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#54AD1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54AD1C
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54AD1C#FFFFFF#000000##000000
##54AD1C1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A8962F
Tritanopia (blue-blind)
#4EA693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #54ad1c;
/* rgb */ color: rgb(84, 173, 28);
/* oklch */ color: oklch(66.6% 0.191 136.9);
Tailwind
colors: {
  custom: {
    50: '#8dc667',
    500: '#54ad1c',
    950: '#000000',
  },
}
SCSS
$custom: #54ad1c;
$custom-light: #8dc667;
$custom-dark: #000000;
JSON
{
  "hex": "#54ad1c",
  "rgb": {
    "r": 84,
    "g": 173,
    "b": 28
  },
  "hsl": {
    "h": 96.828,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66637,
    "c": 0.19097,
    "h": 136.9
  },
  "luminance": 0.31856
}

Semantic roles & 50–950 ramp

primary
#54AD1C
secondary
#9F5CC9
accent
#39EFA9
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54AD1C

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

Preview Lab → · Contrast checker → · Palette generator →

#54AD1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva