#54A223#54A223

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

Color values

HEX#54A223
RGBrgb(84, 162, 35)
HSLhsl(97, 64%, 39%)
HSVhsv(97, 78%, 64%)
CMYKcmyk(48.1%, 0%, 78.4%, 36.5%)
CIE-LABlab(59.75, -45.46, 54.18)
CIE-LCHlch(59.75, 70.72, 130.00°)
OKLaboklab(63.79% -0.1265 0.1206)
OKLCHoklch(63.79% 0.175 136.4)
XYZxyz(16.8794, 27.8457, 6.0751)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A223 #7123A2
analogous
#93A223 #54A223 #23A231
triadic
#54A223 #2354A2 #A22354
tetradic
#54A223 #2393A2 #7123A2 #A23123
square
#54A223 #2393A2 #7123A2 #A23123
split-complementary
#54A223 #3123A2 #A22393
monochromatic
#203D0D #3A7018 #54A223 #6FD230 #92DD62

Accessibility & contrast

On white

3.20
#54A223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54A223#FFFFFF#000000##000000
##54A2231.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#509C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #54a223;
/* rgb */ color: rgb(84, 162, 35);
/* oklch */ color: oklch(63.8% 0.175 136.4);
Tailwind
colors: {
  custom: {
    50: '#8cbe68',
    500: '#54a223',
    950: '#000000',
  },
}
SCSS
$custom: #54a223;
$custom-light: #8cbe68;
$custom-dark: #000000;
JSON
{
  "hex": "#54a223",
  "rgb": {
    "r": 84,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 96.85,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.17478,
    "h": 136.4
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

primary
#54A223
secondary
#9C5EC2
accent
#40E7A7
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #54A223

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

Preview Lab → · Contrast checker → · Palette generator →

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