#54B228#54B228

#54B228 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.0% C 0.191 H 138.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#54B228
RGBrgb(84, 178, 40)
HSLhsl(101, 63%, 43%)
HSVhsv(101, 78%, 70%)
CMYKcmyk(52.8%, 0%, 77.5%, 30.2%)
CIE-LABlab(64.87, -51.37, 57.46)
CIE-LCHlch(64.87, 77.07, 131.79°)
OKLaboklab(68.01% -0.1421 0.1281)
OKLCHoklch(68.01% 0.191 138)
XYZxyz(19.9589, 33.8773, 7.4943)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B228 #8628B2
analogous
#99B228 #54B228 #28B241
triadic
#54B228 #2854B2 #B22854
tetradic
#54B228 #2899B2 #8628B2 #B24128
square
#54B228 #2899B2 #8628B2 #B24128
split-complementary
#54B228 #4128B2 #B22899
monochromatic
#254E12 #3C801D #54B228 #71D543 #97E075

Accessibility & contrast

On white

2.70
#54B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#54B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B228
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B228#FFFFFF#000000##000000
##54B2281.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A202
Deuteranopia (green-blind)
#AC9A37
Tritanopia (blue-blind)
#4DAC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #54b228;
/* rgb */ color: rgb(84, 178, 40);
/* oklch */ color: oklch(68.0% 0.191 138.0);
Tailwind
colors: {
  custom: {
    50: '#8eca6d',
    500: '#54b228',
    950: '#000000',
  },
}
SCSS
$custom: #54b228;
$custom-light: #8eca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#54b228",
  "rgb": {
    "r": 84,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 100.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68009,
    "c": 0.19138,
    "h": 138
  },
  "luminance": 0.33879
}

Semantic roles & 50–950 ramp

primary
#54B228
secondary
#AB6FC7
accent
#41E6B2
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #54B228

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

Preview Lab → · Contrast checker → · Palette generator →

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