#54B122#54B122

#54B122 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 67.7% C 0.193 H 137.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#54B122
RGBrgb(84, 177, 34)
HSLhsl(99, 68%, 41%)
HSVhsv(99, 81%, 69%)
CMYKcmyk(52.5%, 0%, 80.8%, 30.6%)
CIE-LABlab(64.52, -51.33, 58.96)
CIE-LCHlch(64.52, 78.18, 131.04°)
OKLaboklab(67.71% -0.1424 0.1304)
OKLCHoklch(67.71% 0.193 137.5)
XYZxyz(19.6664, 33.4431, 6.9319)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B122 #7F22B1
analogous
#9CB122 #54B122 #22B138
triadic
#54B122 #2254B1 #B12254
tetradic
#54B122 #229CB1 #7F22B1 #B13822
square
#54B122 #229CB1 #7F22B1 #B13822
split-complementary
#54B122 #3822B1 #B1229C
monochromatic
#234A0E #3C7E18 #54B122 #70D938 #95E36B

Accessibility & contrast

On white

2.73
#54B122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#54B122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B122
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B122#FFFFFF#000000##000000
##54B1221.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#4DAB97
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #54b122;
/* rgb */ color: rgb(84, 177, 34);
/* oklch */ color: oklch(67.7% 0.193 137.5);
Tailwind
colors: {
  custom: {
    50: '#8ec96a',
    500: '#54b122',
    950: '#000000',
  },
}
SCSS
$custom: #54b122;
$custom-light: #8ec96a;
$custom-dark: #000000;
JSON
{
  "hex": "#54b122",
  "rgb": {
    "r": 84,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 99.021,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67713,
    "c": 0.19308,
    "h": 137.5
  },
  "luminance": 0.33445
}

Semantic roles & 50–950 ramp

primary
#54B122
secondary
#A666C9
accent
#3DEBAE
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B122

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

Preview Lab → · Contrast checker → · Palette generator →

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