#31AE48#31AE48

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

Color values

HEX#31AE48
RGBrgb(49, 174, 72)
HSLhsl(131, 56%, 44%)
HSVhsv(131, 72%, 68%)
CMYKcmyk(71.8%, 0%, 58.6%, 31.8%)
CIE-LABlab(62.84, -54.98, 42.04)
CIE-LCHlch(62.84, 69.21, 142.60°)
OKLaboklab(66.13% -0.1483 0.0996)
OKLCHoklch(66.13% 0.179 146.1)
XYZxyz(17.5711, 31.3910, 11.2627)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE48 #AE3197
analogous
#58AE31 #31AE48 #31AE86
triadic
#31AE48 #4831AE #AE4831
tetradic
#31AE48 #3158AE #AE3197 #AE8631
square
#31AE48 #3158AE #AE3197 #AE8631
split-complementary
#31AE48 #8631AE #AE3158
monochromatic
#164E20 #247E34 #31AE48 #4FCD66 #7FDB90

Accessibility & contrast

On white

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

On black

7.28
#31AE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE48
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE48#FFFFFF#000000##000000
##31AE481.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3E
Deuteranopia (green-blind)
#A29450
Tritanopia (blue-blind)
#00AA98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae48;
/* rgb */ color: rgb(49, 174, 72);
/* oklch */ color: oklch(66.1% 0.179 146.1);
Tailwind
colors: {
  custom: {
    50: '#7bc77e',
    500: '#31ae48',
    950: '#000000',
  },
}
SCSS
$custom: #31ae48;
$custom-light: #7bc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae48",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 72
  },
  "hsl": {
    "h": 131.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66132,
    "c": 0.1786,
    "h": 146.1
  },
  "luminance": 0.31393
}

Semantic roles & 50–950 ramp

primary
#31AE48
secondary
#C477B6
accent
#48C4DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AE48

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

Preview Lab → · Contrast checker → · Palette generator →

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