#54A22B#54A22B

#54A22B is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.8% C 0.170 H 137.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#54A22B
RGBrgb(84, 162, 43)
HSLhsl(99, 58%, 40%)
HSVhsv(99, 73%, 64%)
CMYKcmyk(48.1%, 0%, 73.5%, 36.5%)
CIE-LABlab(59.80, -44.93, 51.44)
CIE-LCHlch(59.80, 68.30, 131.14°)
OKLaboklab(63.84% -0.1246 0.116)
OKLCHoklch(63.84% 0.17 137)
XYZxyz(17.0120, 27.8988, 6.7736)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A22B #792BA2
analogous
#8FA22B #54A22B #2BA23E
triadic
#54A22B #2B54A2 #A22B54
tetradic
#54A22B #2B8FA2 #792BA2 #A23E2B
square
#54A22B #2B8FA2 #792BA2 #A23E2B
split-complementary
#54A22B #3E2BA2 #A22B8F
monochromatic
#224111 #3B721E #54A22B #6FCC3E #93D96F

Accessibility & contrast

On white

3.19
#54A22B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#54A22B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A22B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A22B#FFFFFF#000000##000000
##54A22B1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79415
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#509C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #54a22b;
/* rgb */ color: rgb(84, 162, 43);
/* oklch */ color: oklch(63.8% 0.170 137.0);
Tailwind
colors: {
  custom: {
    50: '#8bbe6c',
    500: '#54a22b',
    950: '#000000',
  },
}
SCSS
$custom: #54a22b;
$custom-light: #8bbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#54a22b",
  "rgb": {
    "r": 84,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 99.328,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63844,
    "c": 0.17025,
    "h": 137
  },
  "luminance": 0.279
}

Semantic roles & 50–950 ramp

primary
#54A22B
secondary
#A269C0
accent
#47E1AC
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #54A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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