#31A565#31A565

#31A565 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.2% C 0.140 H 154.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#31A565
RGBrgb(49, 165, 101)
HSLhsl(147, 54%, 42%)
HSVhsv(147, 70%, 65%)
CMYKcmyk(70.3%, 0%, 38.8%, 35.3%)
CIE-LABlab(60.34, -46.95, 24.11)
CIE-LCHlch(60.34, 52.78, 152.82°)
OKLaboklab(64.2% -0.1268 0.0602)
OKLCHoklch(64.2% 0.14 154.6)
XYZxyz(17.0692, 28.5009, 16.9110)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A565 #A53171
analogous
#37A531 #31A565 #31A59F
triadic
#31A565 #6531A5 #A56531
tetradic
#31A565 #3137A5 #A53171 #A59F31
square
#31A565 #3137A5 #A53171 #A59F31
split-complementary
#31A565 #9F31A5 #A53137
monochromatic
#15472B #237648 #31A565 #4AC983 #79D7A3

Accessibility & contrast

On white

3.13
#31A565 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#31A565 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A565
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A565#FFFFFF#000000##000000
##31A5651.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59861
Deuteranopia (green-blind)
#968D69
Tritanopia (blue-blind)
#00A395
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a565;
/* rgb */ color: rgb(49, 165, 101);
/* oklch */ color: oklch(64.2% 0.140 154.6);
Tailwind
colors: {
  custom: {
    50: '#78c191',
    500: '#31a565',
    950: '#000000',
  },
}
SCSS
$custom: #31a565;
$custom-light: #78c191;
$custom-dark: #000000;
JSON
{
  "hex": "#31a565",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 101
  },
  "hsl": {
    "h": 146.897,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64201,
    "c": 0.14041,
    "h": 154.6
  },
  "luminance": 0.28503
}

Semantic roles & 50–950 ramp

primary
#31A565
secondary
#C0729D
accent
#4A9CDE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120D
muted
#7C817D

Preview Lab

Preview with #31A565

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

Preview Lab → · Contrast checker → · Palette generator →

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