#31AA5C#31AA5C

#31AA5C is a light, vivid green. Relative luminance 0.302; OKLCH L 65.4% C 0.156 H 150.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#31AA5C
RGBrgb(49, 170, 92)
HSLhsl(141, 55%, 43%)
HSVhsv(141, 71%, 67%)
CMYKcmyk(71.2%, 0%, 45.9%, 33.3%)
CIE-LABlab(61.80, -50.52, 30.80)
CIE-LCHlch(61.80, 59.17, 148.63°)
OKLaboklab(65.36% -0.136 0.0756)
OKLCHoklch(65.36% 0.156 150.9)
XYZxyz(17.5717, 30.1732, 15.0211)
Luminance0.3018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA5C #AA317F
analogous
#43AA31 #31AA5C #31AA98
triadic
#31AA5C #5C31AA #AA5C31
tetradic
#31AA5C #3143AA #AA317F #AA9831
square
#31AA5C #3143AA #AA317F #AA9831
split-complementary
#31AA5C #9831AA #AA3143
monochromatic
#164B29 #237A42 #31AA5C #4DCC7A #7CD99D

Accessibility & contrast

On white

2.99
#31AA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#31AA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA5C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA5C#FFFFFF#000000##000000
##31AA5C1.002.997.047.04
#FFFFFF2.991.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C56
Deuteranopia (green-blind)
#9C9161
Tritanopia (blue-blind)
#00A797
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa5c;
/* rgb */ color: rgb(49, 170, 92);
/* oklch */ color: oklch(65.4% 0.156 150.9);
Tailwind
colors: {
  custom: {
    50: '#7ac48b',
    500: '#31aa5c',
    950: '#000000',
  },
}
SCSS
$custom: #31aa5c;
$custom-light: #7ac48b;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa5c",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 92
  },
  "hsl": {
    "h": 141.322,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65361,
    "c": 0.15564,
    "h": 150.9
  },
  "luminance": 0.30175
}

Semantic roles & 50–950 ramp

primary
#31AA5C
secondary
#C275A7
accent
#49AADF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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