#54B226#54B226

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

Color values

HEX#54B226
RGBrgb(84, 178, 38)
HSLhsl(100, 65%, 42%)
HSVhsv(100, 79%, 70%)
CMYKcmyk(52.8%, 0%, 78.7%, 30.2%)
CIE-LABlab(64.85, -51.48, 58.08)
CIE-LCHlch(64.85, 77.62, 131.55°)
OKLaboklab(68% -0.1426 0.1292)
OKLCHoklch(68% 0.192 137.8)
XYZxyz(19.9257, 33.8640, 7.3198)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B226 #8426B2
analogous
#9AB226 #54B226 #26B23E
triadic
#54B226 #2654B2 #B22654
tetradic
#54B226 #269AB2 #8426B2 #B23E26
square
#54B226 #269AB2 #8426B2 #B23E26
split-complementary
#54B226 #3E26B2 #B2269A
monochromatic
#244D10 #3C801B #54B226 #71D63F #96E172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54B226#FFFFFF#000000##000000
##54B2261.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)
#AC9A36
Tritanopia (blue-blind)
#4DAC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #54b226;
/* rgb */ color: rgb(84, 178, 38);
/* oklch */ color: oklch(68.0% 0.192 137.8);
Tailwind
colors: {
  custom: {
    50: '#8eca6c',
    500: '#54b226',
    950: '#000000',
  },
}
SCSS
$custom: #54b226;
$custom-light: #8eca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#54b226",
  "rgb": {
    "r": 84,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 100.286,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67997,
    "c": 0.19238,
    "h": 137.8
  },
  "luminance": 0.33866
}

Semantic roles & 50–950 ramp

primary
#54B226
secondary
#AA6CC8
accent
#40E8B1
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #54B226

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

Preview Lab → · Contrast checker → · Palette generator →

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