#31AC54#31AC54

#31AC54 is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.166 H 148.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#31AC54
RGBrgb(49, 172, 84)
HSLhsl(137, 56%, 43%)
HSVhsv(137, 72%, 67%)
CMYKcmyk(71.5%, 0%, 51.2%, 32.5%)
CIE-LABlab(62.34, -52.57, 35.57)
CIE-LCHlch(62.34, 63.47, 145.91°)
OKLaboklab(65.76% -0.1415 0.0861)
OKLCHoklch(65.76% 0.166 148.7)
XYZxyz(17.6180, 30.7961, 13.4015)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC54 #AC3189
analogous
#4BAC31 #31AC54 #31AC91
triadic
#31AC54 #5431AC #AC5431
tetradic
#31AC54 #314BAC #AC3189 #AC9131
square
#31AC54 #314BAC #AC3189 #AC9131
split-complementary
#31AC54 #9131AC #AC314B
monochromatic
#164D25 #237C3D #31AC54 #4ECC72 #7DDA98

Accessibility & contrast

On white

2.93
#31AC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#31AC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC54
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC54#FFFFFF#000000##000000
##31AC541.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4D
Deuteranopia (green-blind)
#9F935A
Tritanopia (blue-blind)
#00A998
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac54;
/* rgb */ color: rgb(49, 172, 84);
/* oklch */ color: oklch(65.8% 0.166 148.7);
Tailwind
colors: {
  custom: {
    50: '#7ac686',
    500: '#31ac54',
    950: '#000000',
  },
}
SCSS
$custom: #31ac54;
$custom-light: #7ac686;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac54",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 84
  },
  "hsl": {
    "h": 137.073,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.16564,
    "h": 148.7
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#31AC54
secondary
#C376AD
accent
#49B4DF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AC54

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

Preview Lab → · Contrast checker → · Palette generator →

#31AC54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva