#54A42B#54A42B

#54A42B is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.4% C 0.173 H 137.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#54A42B
RGBrgb(84, 164, 43)
HSLhsl(100, 58%, 41%)
HSVhsv(100, 74%, 64%)
CMYKcmyk(48.8%, 0%, 73.8%, 35.7%)
CIE-LABlab(60.44, -45.73, 52.08)
CIE-LCHlch(60.44, 69.31, 131.29°)
OKLaboklab(64.37% -0.1268 0.1173)
OKLCHoklch(64.37% 0.173 137.2)
XYZxyz(17.3671, 28.6090, 6.8920)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A42B #7B2BA4
analogous
#90A42B #54A42B #2BA43E
triadic
#54A42B #2B54A4 #A42B54
tetradic
#54A42B #2B90A4 #7B2BA4 #A43E2B
square
#54A42B #2B90A4 #7B2BA4 #A43E2B
split-complementary
#54A42B #3E2BA4 #A42B90
monochromatic
#224312 #3B741E #54A42B #6FCD3F #94D970

Accessibility & contrast

On white

3.12
#54A42B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#54A42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A42B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A42B#FFFFFF#000000##000000
##54A42B1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99614
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#4F9E8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #54a42b;
/* rgb */ color: rgb(84, 164, 43);
/* oklch */ color: oklch(64.4% 0.173 137.2);
Tailwind
colors: {
  custom: {
    50: '#8cc06c',
    500: '#54a42b',
    950: '#000000',
  },
}
SCSS
$custom: #54a42b;
$custom-light: #8cc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#54a42b",
  "rgb": {
    "r": 84,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 99.669,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.17275,
    "h": 137.2
  },
  "luminance": 0.2861
}

Semantic roles & 50–950 ramp

primary
#54A42B
secondary
#A36AC1
accent
#46E2AD
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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