#31A55F#31A55F

#31A55F is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.146 H 152.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#31A55F
RGBrgb(49, 165, 95)
HSLhsl(144, 54%, 42%)
HSVhsv(144, 70%, 65%)
CMYKcmyk(70.3%, 0%, 42.4%, 35.3%)
CIE-LABlab(60.24, -48.08, 27.20)
CIE-LCHlch(60.24, 55.24, 150.51°)
OKLaboklab(64.09% -0.1296 0.0673)
OKLCHoklch(64.09% 0.146 152.5)
XYZxyz(16.7859, 28.3876, 15.4190)
Luminance0.2839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A55F #A53177
analogous
#3DA531 #31A55F #31A599
triadic
#31A55F #5F31A5 #A55F31
tetradic
#31A55F #313DA5 #A53177 #A59931
square
#31A55F #313DA5 #A53177 #A59931
split-complementary
#31A55F #9931A5 #A5313D
monochromatic
#154729 #237644 #31A55F #4AC97C #79D79E

Accessibility & contrast

On white

3.14
#31A55F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#31A55F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A55F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A55F#FFFFFF#000000##000000
##31A55F1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5975A
Deuteranopia (green-blind)
#978D64
Tritanopia (blue-blind)
#00A394
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a55f;
/* rgb */ color: rgb(49, 165, 95);
/* oklch */ color: oklch(64.1% 0.146 152.5);
Tailwind
colors: {
  custom: {
    50: '#78c18d',
    500: '#31a55f',
    950: '#000000',
  },
}
SCSS
$custom: #31a55f;
$custom-light: #78c18d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a55f",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 95
  },
  "hsl": {
    "h": 143.793,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64085,
    "c": 0.14609,
    "h": 152.5
  },
  "luminance": 0.28389
}

Semantic roles & 50–950 ramp

primary
#31A55F
secondary
#C072A1
accent
#4AA3DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A55F

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

Preview Lab → · Contrast checker → · Palette generator →

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