#31AB55#31AB55

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

Color values

HEX#31AB55
RGBrgb(49, 171, 85)
HSLhsl(138, 55%, 43%)
HSVhsv(138, 71%, 67%)
CMYKcmyk(71.3%, 0%, 50.3%, 32.9%)
CIE-LABlab(62.03, -52.04, 34.68)
CIE-LCHlch(62.03, 62.54, 146.32°)
OKLaboklab(65.51% -0.1401 0.0842)
OKLCHoklch(65.51% 0.163 149)
XYZxyz(17.4679, 30.4327, 13.5461)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB55 #AB3187
analogous
#4AAB31 #31AB55 #31AB92
triadic
#31AB55 #5531AB #AB5531
tetradic
#31AB55 #314AAB #AB3187 #AB9231
square
#31AB55 #314AAB #AB3187 #AB9231
split-complementary
#31AB55 #9231AB #AB314A
monochromatic
#164C26 #237B3D #31AB55 #4DCC73 #7DDA98

Accessibility & contrast

On white

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

On black

7.09
#31AB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB55
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB55#FFFFFF#000000##000000
##31AB551.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ab55;
/* rgb */ color: rgb(49, 171, 85);
/* oklch */ color: oklch(65.5% 0.163 149.0);
Tailwind
colors: {
  custom: {
    50: '#7ac586',
    500: '#31ab55',
    950: '#000000',
  },
}
SCSS
$custom: #31ab55;
$custom-light: #7ac586;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab55",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 85
  },
  "hsl": {
    "h": 137.705,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65513,
    "c": 0.16343,
    "h": 149
  },
  "luminance": 0.30435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AB55

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

Preview Lab → · Contrast checker → · Palette generator →

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