#31AA5A#31AA5A

#31AA5A is a light, vivid green. Relative luminance 0.301; OKLCH L 65.3% C 0.158 H 150.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#31AA5A
RGBrgb(49, 170, 90)
HSLhsl(140, 55%, 43%)
HSVhsv(140, 71%, 67%)
CMYKcmyk(71.2%, 0%, 47.1%, 33.3%)
CIE-LABlab(61.77, -50.86, 31.80)
CIE-LCHlch(61.77, 59.99, 147.98°)
OKLaboklab(65.33% -0.1369 0.0778)
OKLCHoklch(65.33% 0.158 150.4)
XYZxyz(17.4854, 30.1387, 14.5667)
Luminance0.3014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA5A #AA3181
analogous
#44AA31 #31AA5A #31AA97
triadic
#31AA5A #5A31AA #AA5A31
tetradic
#31AA5A #3144AA #AA3181 #AA9731
square
#31AA5A #3144AA #AA3181 #AA9731
split-complementary
#31AA5A #9731AA #AA3144
monochromatic
#164B28 #237A41 #31AA5A #4DCC78 #7CD99C

Accessibility & contrast

On white

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

On black

7.03
#31AA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA5A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA5A#FFFFFF#000000##000000
##31AA5A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31aa5a;
/* rgb */ color: rgb(49, 170, 90);
/* oklch */ color: oklch(65.3% 0.158 150.4);
Tailwind
colors: {
  custom: {
    50: '#7ac48a',
    500: '#31aa5a',
    950: '#000000',
  },
}
SCSS
$custom: #31aa5a;
$custom-light: #7ac48a;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa5a",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 90
  },
  "hsl": {
    "h": 140.331,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65327,
    "c": 0.1575,
    "h": 150.4
  },
  "luminance": 0.30141
}

Semantic roles & 50–950 ramp

primary
#31AA5A
secondary
#C275A8
accent
#49ACDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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