#54B227#54B227

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

Color values

HEX#54B227
RGBrgb(84, 178, 39)
HSLhsl(101, 64%, 43%)
HSVhsv(101, 78%, 70%)
CMYKcmyk(52.8%, 0%, 78.1%, 30.2%)
CIE-LABlab(64.86, -51.43, 57.77)
CIE-LCHlch(64.86, 77.35, 131.67°)
OKLaboklab(68% -0.1424 0.1287)
OKLCHoklch(68% 0.192 137.9)
XYZxyz(19.9421, 33.8706, 7.4059)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B227 #8527B2
analogous
#99B227 #54B227 #27B240
triadic
#54B227 #2754B2 #B22754
tetradic
#54B227 #2799B2 #8527B2 #B24027
square
#54B227 #2799B2 #8527B2 #B24027
split-complementary
#54B227 #4027B2 #B22799
monochromatic
#254E11 #3C801C #54B227 #71D541 #96E073

Accessibility & contrast

On white

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

On black

7.77
#54B227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B227
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B227#FFFFFF#000000##000000
##54B2271.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54b227;
/* rgb */ color: rgb(84, 178, 39);
/* oklch */ color: oklch(68.0% 0.192 137.9);
Tailwind
colors: {
  custom: {
    50: '#8eca6c',
    500: '#54b227',
    950: '#000000',
  },
}
SCSS
$custom: #54b227;
$custom-light: #8eca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#54b227",
  "rgb": {
    "r": 84,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 100.576,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.19188,
    "h": 137.9
  },
  "luminance": 0.33872
}

Semantic roles & 50–950 ramp

primary
#54B227
secondary
#AA6DC8
accent
#41E7B1
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B227

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

Preview Lab → · Contrast checker → · Palette generator →

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