#31AE46#31AE46

#31AE46 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.1% C 0.180 H 145.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#31AE46
RGBrgb(49, 174, 70)
HSLhsl(130, 56%, 44%)
HSVhsv(130, 72%, 68%)
CMYKcmyk(71.8%, 0%, 59.8%, 31.8%)
CIE-LABlab(62.81, -55.23, 42.95)
CIE-LCHlch(62.81, 69.97, 142.13°)
OKLaboklab(66.11% -0.149 0.1014)
OKLCHoklch(66.11% 0.18 145.8)
XYZxyz(17.5069, 31.3653, 10.9246)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE46 #AE3199
analogous
#5AAE31 #31AE46 #31AE84
triadic
#31AE46 #4631AE #AE4631
tetradic
#31AE46 #315AAE #AE3199 #AE8431
square
#31AE46 #315AAE #AE3199 #AE8431
split-complementary
#31AE46 #8431AE #AE315A
monochromatic
#164E20 #247E33 #31AE46 #4FCD64 #7FDB8E

Accessibility & contrast

On white

2.89
#31AE46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#31AE46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE46
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE46#FFFFFF#000000##000000
##31AE461.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3B
Deuteranopia (green-blind)
#A2944E
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae46;
/* rgb */ color: rgb(49, 174, 70);
/* oklch */ color: oklch(66.1% 0.180 145.8);
Tailwind
colors: {
  custom: {
    50: '#7bc77d',
    500: '#31ae46',
    950: '#000000',
  },
}
SCSS
$custom: #31ae46;
$custom-light: #7bc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae46",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 70
  },
  "hsl": {
    "h": 130.08,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.18025,
    "h": 145.8
  },
  "luminance": 0.31367
}

Semantic roles & 50–950 ramp

primary
#31AE46
secondary
#C477B7
accent
#48C6DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AE46

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

Preview Lab → · Contrast checker → · Palette generator →

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