#31AE56#31AE56

#31AE56 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.166 H 149.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#31AE56
RGBrgb(49, 174, 86)
HSLhsl(138, 56%, 44%)
HSVhsv(138, 72%, 68%)
CMYKcmyk(71.8%, 0%, 50.6%, 31.8%)
CIE-LABlab(63.01, -52.98, 35.40)
CIE-LCHlch(63.01, 63.72, 146.25°)
OKLaboklab(66.33% -0.1426 0.0858)
OKLCHoklch(66.33% 0.166 149)
XYZxyz(18.0810, 31.5949, 13.9478)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE56 #AE3189
analogous
#4AAE31 #31AE56 #31AE94
triadic
#31AE56 #5631AE #AE5631
tetradic
#31AE56 #314AAE #AE3189 #AE9431
square
#31AE56 #314AAE #AE3189 #AE9431
split-complementary
#31AE56 #9431AE #AE314A
monochromatic
#164E27 #247E3E #31AE56 #4FCD74 #7FDB9A

Accessibility & contrast

On white

2.87
#31AE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#31AE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE56
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE56#FFFFFF#000000##000000
##31AE561.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F4F
Deuteranopia (green-blind)
#A1945C
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae56;
/* rgb */ color: rgb(49, 174, 86);
/* oklch */ color: oklch(66.3% 0.166 149.0);
Tailwind
colors: {
  custom: {
    50: '#7bc787',
    500: '#31ae56',
    950: '#000000',
  },
}
SCSS
$custom: #31ae56;
$custom-light: #7bc787;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae56",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 86
  },
  "hsl": {
    "h": 137.76,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.16643,
    "h": 149
  },
  "luminance": 0.31597
}

Semantic roles & 50–950 ramp

primary
#31AE56
secondary
#C477AD
accent
#48B3DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AE56

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

Preview Lab → · Contrast checker → · Palette generator →

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