#31AA5E#31AA5E

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

Color values

HEX#31AA5E
RGBrgb(49, 170, 94)
HSLhsl(142, 55%, 43%)
HSVhsv(142, 71%, 67%)
CMYKcmyk(71.2%, 0%, 44.7%, 33.3%)
CIE-LABlab(61.83, -50.18, 29.80)
CIE-LCHlch(61.83, 58.36, 149.30°)
OKLaboklab(65.4% -0.1351 0.0734)
OKLCHoklch(65.4% 0.154 151.5)
XYZxyz(17.6602, 30.2086, 15.4876)
Luminance0.3021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA5E #AA317D
analogous
#40AA31 #31AA5E #31AA9A
triadic
#31AA5E #5E31AA #AA5E31
tetradic
#31AA5E #3140AA #AA317D #AA9A31
square
#31AA5E #3140AA #AA317D #AA9A31
split-complementary
#31AA5E #9A31AA #AA3140
monochromatic
#164B29 #237A44 #31AA5E #4DCC7C #7CD99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA5E#FFFFFF#000000##000000
##31AA5E1.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)
#AB9C58
Deuteranopia (green-blind)
#9C9163
Tritanopia (blue-blind)
#00A798
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa5e;
/* rgb */ color: rgb(49, 170, 94);
/* oklch */ color: oklch(65.4% 0.154 151.5);
Tailwind
colors: {
  custom: {
    50: '#7ac48c',
    500: '#31aa5e',
    950: '#000000',
  },
}
SCSS
$custom: #31aa5e;
$custom-light: #7ac48c;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa5e",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 94
  },
  "hsl": {
    "h": 142.314,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65397,
    "c": 0.15377,
    "h": 151.5
  },
  "luminance": 0.30211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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