#31AA5D#31AA5D

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

Color values

HEX#31AA5D
RGBrgb(49, 170, 93)
HSLhsl(142, 55%, 43%)
HSVhsv(142, 71%, 67%)
CMYKcmyk(71.2%, 0%, 45.3%, 33.3%)
CIE-LABlab(61.82, -50.35, 30.30)
CIE-LCHlch(61.82, 58.76, 148.96°)
OKLaboklab(65.38% -0.1356 0.0745)
OKLCHoklch(65.38% 0.155 151.2)
XYZxyz(17.6157, 30.1908, 15.2528)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA5D #AA317E
analogous
#42AA31 #31AA5D #31AA99
triadic
#31AA5D #5D31AA #AA5D31
tetradic
#31AA5D #3142AA #AA317E #AA9931
square
#31AA5D #3142AA #AA317E #AA9931
split-complementary
#31AA5D #9931AA #AA3142
monochromatic
#164B29 #237A43 #31AA5D #4DCC7B #7CD99E

Accessibility & contrast

On white

2.98
#31AA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA5D#FFFFFF#000000##000000
##31AA5D1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31aa5d;
/* rgb */ color: rgb(49, 170, 93);
/* oklch */ color: oklch(65.4% 0.155 151.2);
Tailwind
colors: {
  custom: {
    50: '#7ac48c',
    500: '#31aa5d',
    950: '#000000',
  },
}
SCSS
$custom: #31aa5d;
$custom-light: #7ac48c;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa5d",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 93
  },
  "hsl": {
    "h": 141.818,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65379,
    "c": 0.1547,
    "h": 151.2
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#31AA5D
secondary
#C275A6
accent
#49A8DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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