#54A523#54A523

#54A523 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.178 H 136.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#54A523
RGBrgb(84, 165, 35)
HSLhsl(97, 65%, 39%)
HSVhsv(97, 79%, 65%)
CMYKcmyk(49.1%, 0%, 78.8%, 35.3%)
CIE-LABlab(60.71, -46.65, 55.09)
CIE-LCHlch(60.71, 72.19, 130.26°)
OKLaboklab(64.58% -0.1298 0.1225)
OKLCHoklch(64.58% 0.178 136.7)
XYZxyz(17.4142, 28.9152, 6.2534)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A523 #7423A5
analogous
#95A523 #54A523 #23A533
triadic
#54A523 #2354A5 #A52354
tetradic
#54A523 #2395A5 #7423A5 #A53323
square
#54A523 #2395A5 #7423A5 #A53323
split-complementary
#54A523 #3323A5 #A52395
monochromatic
#21400E #3A7318 #54A523 #6FD332 #92DE64

Accessibility & contrast

On white

3.10
#54A523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#54A523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A523
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A523#FFFFFF#000000##000000
##54A5231.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#509F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a523;
/* rgb */ color: rgb(84, 165, 35);
/* oklch */ color: oklch(64.6% 0.178 136.7);
Tailwind
colors: {
  custom: {
    50: '#8cc069',
    500: '#54a523',
    950: '#000000',
  },
}
SCSS
$custom: #54a523;
$custom-light: #8cc069;
$custom-dark: #000000;
JSON
{
  "hex": "#54a523",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 97.385,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.17842,
    "h": 136.7
  },
  "luminance": 0.28916
}

Semantic roles & 50–950 ramp

primary
#54A523
secondary
#9E60C4
accent
#40E8A9
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A523

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

Preview Lab → · Contrast checker → · Palette generator →

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