#54B020#54B020

#54B020 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.4% C 0.193 H 137.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#54B020
RGBrgb(84, 176, 32)
HSLhsl(98, 69%, 41%)
HSVhsv(98, 82%, 69%)
CMYKcmyk(52.3%, 0%, 81.8%, 31%)
CIE-LABlab(64.19, -51.05, 59.23)
CIE-LCHlch(64.19, 78.20, 130.76°)
OKLaboklab(67.44% -0.1417 0.1307)
OKLCHoklch(67.44% 0.193 137.3)
XYZxyz(19.4416, 33.0383, 6.7188)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B020 #7C20B0
analogous
#9CB020 #54B020 #20B034
triadic
#54B020 #2054B0 #B02054
tetradic
#54B020 #209CB0 #7C20B0 #B03420
square
#54B020 #209CB0 #7C20B0 #B03420
split-complementary
#54B020 #3420B0 #B0209C
monochromatic
#23480D #3B7C17 #54B020 #6FDA33 #94E367

Accessibility & contrast

On white

2.76
#54B020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#54B020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B020
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B020#FFFFFF#000000##000000
##54B0201.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#4EA996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #54b020;
/* rgb */ color: rgb(84, 176, 32);
/* oklch */ color: oklch(67.4% 0.193 137.3);
Tailwind
colors: {
  custom: {
    50: '#8ec869',
    500: '#54b020',
    950: '#000000',
  },
}
SCSS
$custom: #54b020;
$custom-light: #8ec869;
$custom-dark: #000000;
JSON
{
  "hex": "#54b020",
  "rgb": {
    "r": 84,
    "g": 176,
    "b": 32
  },
  "hsl": {
    "h": 98.333,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67442,
    "c": 0.1928,
    "h": 137.3
  },
  "luminance": 0.3304
}

Semantic roles & 50–950 ramp

primary
#54B020
secondary
#A463C9
accent
#3CECAC
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B020

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

Preview Lab → · Contrast checker → · Palette generator →

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