#54A020#54A020

#54A020 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.2% C 0.174 H 136.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#54A020
RGBrgb(84, 160, 32)
HSLhsl(96, 67%, 38%)
HSVhsv(96, 80%, 63%)
CMYKcmyk(47.5%, 0%, 80%, 37.3%)
CIE-LABlab(59.09, -44.83, 54.51)
CIE-LCHlch(59.09, 70.57, 129.44°)
OKLaboklab(63.25% -0.125 0.1208)
OKLCHoklch(63.25% 0.174 136)
XYZxyz(16.4872, 27.1296, 5.7340)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A020 #6C20A0
analogous
#94A020 #54A020 #20A02C
triadic
#54A020 #2054A0 #A02054
tetradic
#54A020 #2094A0 #6C20A0 #A02C20
square
#54A020 #2094A0 #6C20A0 #A02C20
split-complementary
#54A020 #2C20A0 #A02094
monochromatic
#1E3A0C #396D16 #54A020 #6FD32A #91DE5C

Accessibility & contrast

On white

3.27
#54A020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#54A020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A020
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A020#FFFFFF#000000##000000
##54A0201.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#519A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #54a020;
/* rgb */ color: rgb(84, 160, 32);
/* oklch */ color: oklch(63.2% 0.174 136.0);
Tailwind
colors: {
  custom: {
    50: '#8cbd67',
    500: '#54a020',
    950: '#000000',
  },
}
SCSS
$custom: #54a020;
$custom-light: #8cbd67;
$custom-dark: #000000;
JSON
{
  "hex": "#54a020",
  "rgb": {
    "r": 84,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 95.625,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63246,
    "c": 0.17385,
    "h": 136
  },
  "luminance": 0.27131
}

Semantic roles & 50–950 ramp

primary
#54A020
secondary
#9859C3
accent
#3EEAA4
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A020

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

Preview Lab → · Contrast checker → · Palette generator →

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