#54A227#54A227

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

Color values

HEX#54A227
RGBrgb(84, 162, 39)
HSLhsl(98, 61%, 39%)
HSVhsv(98, 76%, 64%)
CMYKcmyk(48.1%, 0%, 75.9%, 36.5%)
CIE-LABlab(59.77, -45.21, 52.85)
CIE-LCHlch(59.77, 69.55, 130.54°)
OKLaboklab(63.82% -0.1256 0.1184)
OKLCHoklch(63.82% 0.173 136.7)
XYZxyz(16.9422, 27.8708, 6.4059)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A227 #7527A2
analogous
#92A227 #54A227 #27A238
triadic
#54A227 #2754A2 #A22754
tetradic
#54A227 #2792A2 #7527A2 #A23827
square
#54A227 #2792A2 #7527A2 #A23827
split-complementary
#54A227 #3827A2 #A22792
monochromatic
#213F0F #3A711B #54A227 #6FCF37 #92DB69

Accessibility & contrast

On white

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

On black

6.57
#54A227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54A227
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A227#FFFFFF#000000##000000
##54A2271.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54a227;
/* rgb */ color: rgb(84, 162, 39);
/* oklch */ color: oklch(63.8% 0.173 136.7);
Tailwind
colors: {
  custom: {
    50: '#8bbe6a',
    500: '#54a227',
    950: '#000000',
  },
}
SCSS
$custom: #54a227;
$custom-light: #8bbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54a227",
  "rgb": {
    "r": 84,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 98.049,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63815,
    "c": 0.17262,
    "h": 136.7
  },
  "luminance": 0.27872
}

Semantic roles & 50–950 ramp

primary
#54A227
secondary
#9F64C1
accent
#43E4A9
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A227

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

Preview Lab → · Contrast checker → · Palette generator →

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