#54A526#54A526

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

Color values

HEX#54A526
RGBrgb(84, 165, 38)
HSLhsl(98, 63%, 40%)
HSVhsv(98, 77%, 65%)
CMYKcmyk(49.1%, 0%, 77%, 35.3%)
CIE-LABlab(60.72, -46.47, 54.12)
CIE-LCHlch(60.72, 71.34, 130.65°)
OKLaboklab(64.6% -0.1291 0.1209)
OKLCHoklch(64.6% 0.177 136.9)
XYZxyz(17.4606, 28.9338, 6.4981)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A526 #7726A5
analogous
#94A526 #54A526 #26A538
triadic
#54A526 #2654A5 #A52654
tetradic
#54A526 #2694A5 #7726A5 #A53826
square
#54A526 #2694A5 #7726A5 #A53826
split-complementary
#54A526 #3826A5 #A52694
monochromatic
#21420F #3B731B #54A526 #6FD137 #93DC69

Accessibility & contrast

On white

3.09
#54A526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#54A526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A526
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A526#FFFFFF#000000##000000
##54A5261.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#4F9F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a526;
/* rgb */ color: rgb(84, 165, 38);
/* oklch */ color: oklch(64.6% 0.177 136.9);
Tailwind
colors: {
  custom: {
    50: '#8cc06a',
    500: '#54a526',
    950: '#000000',
  },
}
SCSS
$custom: #54a526;
$custom-light: #8cc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#54a526",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 98.268,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64595,
    "c": 0.17685,
    "h": 136.9
  },
  "luminance": 0.28935
}

Semantic roles & 50–950 ramp

primary
#54A526
secondary
#A064C3
accent
#42E6AA
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A526

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

Preview Lab → · Contrast checker → · Palette generator →

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