#54A118#54A118

#54A118 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.179 H 135.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#54A118
RGBrgb(84, 161, 24)
HSLhsl(94, 74%, 36%)
HSVhsv(94, 85%, 63%)
CMYKcmyk(47.8%, 0%, 85.1%, 36.9%)
CIE-LABlab(59.38, -45.62, 57.00)
CIE-LCHlch(59.38, 73.00, 128.67°)
OKLaboklab(63.47% -0.1276 0.1249)
OKLCHoklch(63.47% 0.179 135.6)
XYZxyz(16.5655, 27.4394, 5.2874)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A118 #6518A1
analogous
#99A118 #54A118 #18A121
triadic
#54A118 #1854A1 #A11854
tetradic
#54A118 #1899A1 #6518A1 #A12118
square
#54A118 #1899A1 #6518A1 #A12118
split-complementary
#54A118 #2118A1 #A11899
monochromatic
#1C3608 #386C10 #54A118 #70D620 #90E54F

Accessibility & contrast

On white

3.24
#54A118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#54A118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A118
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A118#FFFFFF#000000##000000
##54A1181.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#519B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #54a118;
/* rgb */ color: rgb(84, 161, 24);
/* oklch */ color: oklch(63.5% 0.179 135.6);
Tailwind
colors: {
  custom: {
    50: '#8cbd64',
    500: '#54a118',
    950: '#000000',
  },
}
SCSS
$custom: #54a118;
$custom-light: #8cbd64;
$custom-dark: #000000;
JSON
{
  "hex": "#54a118",
  "rgb": {
    "r": 84,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 93.723,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63469,
    "c": 0.17851,
    "h": 135.6
  },
  "luminance": 0.27441
}

Semantic roles & 50–950 ramp

primary
#54A118
secondary
#924EC7
accent
#37F19F
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #54A118

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

Preview Lab → · Contrast checker → · Palette generator →

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