#31AA5F#31AA5F

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

Color values

HEX#31AA5F
RGBrgb(49, 170, 95)
HSLhsl(143, 55%, 43%)
HSVhsv(143, 71%, 67%)
CMYKcmyk(71.2%, 0%, 44.1%, 33.3%)
CIE-LABlab(61.85, -50.00, 29.29)
CIE-LCHlch(61.85, 57.95, 149.64°)
OKLaboklab(65.41% -0.1347 0.0722)
OKLCHoklch(65.41% 0.153 151.8)
XYZxyz(17.7054, 30.2267, 15.7255)
Luminance0.3023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA5F #AA317C
analogous
#3FAA31 #31AA5F #31AA9B
triadic
#31AA5F #5F31AA #AA5F31
tetradic
#31AA5F #313FAA #AA317C #AA9B31
square
#31AA5F #313FAA #AA317C #AA9B31
split-complementary
#31AA5F #9B31AA #AA313F
monochromatic
#164B2A #237A44 #31AA5F #4DCC7D #7CD9A0

Accessibility & contrast

On white

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

On black

7.05
#31AA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA5F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA5F#FFFFFF#000000##000000
##31AA5F1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C59
Deuteranopia (green-blind)
#9C9164
Tritanopia (blue-blind)
#00A798
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa5f;
/* rgb */ color: rgb(49, 170, 95);
/* oklch */ color: oklch(65.4% 0.153 151.8);
Tailwind
colors: {
  custom: {
    50: '#7ac48d',
    500: '#31aa5f',
    950: '#000000',
  },
}
SCSS
$custom: #31aa5f;
$custom-light: #7ac48d;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa5f",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 95
  },
  "hsl": {
    "h": 142.81,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65414,
    "c": 0.15284,
    "h": 151.8
  },
  "luminance": 0.30229
}

Semantic roles & 50–950 ramp

primary
#31AA5F
secondary
#C275A5
accent
#49A6DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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