#54B331#54B331

#54B331 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.3% C 0.188 H 138.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#54B331
RGBrgb(84, 179, 49)
HSLhsl(104, 57%, 45%)
HSVhsv(104, 73%, 70%)
CMYKcmyk(53.1%, 0%, 72.6%, 29.8%)
CIE-LABlab(65.24, -51.13, 54.71)
CIE-LCHlch(65.24, 74.88, 133.06°)
OKLaboklab(68.33% -0.141 0.1237)
OKLCHoklch(68.33% 0.188 138.7)
XYZxyz(20.3299, 34.3452, 8.4631)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54B331 #9031B3
analogous
#95B331 #54B331 #31B34F
triadic
#54B331 #3154B3 #B33154
tetradic
#54B331 #3195B3 #9031B3 #B34F31
square
#54B331 #3195B3 #9031B3 #B34F31
split-complementary
#54B331 #4F31B3 #B33195
monochromatic
#275317 #3D8324 #54B331 #74D052 #9ADD82

Accessibility & contrast

On white

2.67
#54B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#54B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54B331
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54B331#FFFFFF#000000##000000
##54B3311.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AC9B3E
Tritanopia (blue-blind)
#4BAD9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #54b331;
/* rgb */ color: rgb(84, 179, 49);
/* oklch */ color: oklch(68.3% 0.188 138.7);
Tailwind
colors: {
  custom: {
    50: '#8dca71',
    500: '#54b331',
    950: '#000000',
  },
}
SCSS
$custom: #54b331;
$custom-light: #8dca71;
$custom-dark: #000000;
JSON
{
  "hex": "#54b331",
  "rgb": {
    "r": 84,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 103.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68331,
    "c": 0.18752,
    "h": 138.7
  },
  "luminance": 0.34347
}

Semantic roles & 50–950 ramp

primary
#54B331
secondary
#B17AC6
accent
#48E0B7
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #54B331

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

Preview Lab → · Contrast checker → · Palette generator →

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