#31AB54#31AB54

#31AB54 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.5% C 0.164 H 148.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#31AB54
RGBrgb(49, 171, 84)
HSLhsl(137, 55%, 43%)
HSVhsv(137, 71%, 67%)
CMYKcmyk(71.3%, 0%, 50.9%, 32.9%)
CIE-LABlab(62.01, -52.20, 35.17)
CIE-LCHlch(62.01, 62.95, 146.03°)
OKLaboklab(65.5% -0.1405 0.0852)
OKLCHoklch(65.5% 0.164 148.8)
XYZxyz(17.4284, 30.4169, 13.3383)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB54 #AB3188
analogous
#4BAB31 #31AB54 #31AB91
triadic
#31AB54 #5431AB #AB5431
tetradic
#31AB54 #314BAB #AB3188 #AB9131
square
#31AB54 #314BAB #AB3188 #AB9131
split-complementary
#31AB54 #9131AB #AB314B
monochromatic
#164C25 #237B3D #31AB54 #4DCC72 #7DDA97

Accessibility & contrast

On white

2.96
#31AB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#31AB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB54
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB54#FFFFFF#000000##000000
##31AB541.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4D
Deuteranopia (green-blind)
#9E925A
Tritanopia (blue-blind)
#00A897
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab54;
/* rgb */ color: rgb(49, 171, 84);
/* oklch */ color: oklch(65.5% 0.164 148.8);
Tailwind
colors: {
  custom: {
    50: '#7ac586',
    500: '#31ab54',
    950: '#000000',
  },
}
SCSS
$custom: #31ab54;
$custom-light: #7ac586;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab54",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 137.213,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.16434,
    "h": 148.8
  },
  "luminance": 0.30419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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