#54A017#54A017

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

Color values

HEX#54A017
RGBrgb(84, 160, 23)
HSLhsl(93, 75%, 36%)
HSVhsv(93, 86%, 63%)
CMYKcmyk(47.5%, 0%, 85.6%, 37.3%)
CIE-LABlab(59.05, -45.26, 56.96)
CIE-LCHlch(59.05, 72.75, 128.47°)
OKLaboklab(63.2% -0.1267 0.1246)
OKLCHoklch(63.2% 0.178 135.5)
XYZxyz(16.3812, 27.0872, 5.1756)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A017 #6317A0
analogous
#98A017 #54A017 #17A01F
triadic
#54A017 #1754A0 #A01754
tetradic
#54A017 #1798A0 #6317A0 #A01F17
square
#54A017 #1798A0 #6317A0 #A01F17
split-complementary
#54A017 #1F17A0 #A01798
monochromatic
#1C3508 #386A0F #54A017 #70D61F #90E54C

Accessibility & contrast

On white

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

On black

6.42
#54A017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A017
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A017#FFFFFF#000000##000000
##54A0171.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54a017;
/* rgb */ color: rgb(84, 160, 23);
/* oklch */ color: oklch(63.2% 0.178 135.5);
Tailwind
colors: {
  custom: {
    50: '#8cbd63',
    500: '#54a017',
    950: '#000000',
  },
}
SCSS
$custom: #54a017;
$custom-light: #8cbd63;
$custom-dark: #000000;
JSON
{
  "hex": "#54a017",
  "rgb": {
    "r": 84,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 93.285,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63201,
    "c": 0.17771,
    "h": 135.5
  },
  "luminance": 0.27088
}

Semantic roles & 50–950 ramp

primary
#54A017
secondary
#904CC7
accent
#36F19E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A017

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

Preview Lab → · Contrast checker → · Palette generator →

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