#31AA50#31AA50

#31AA50 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.167 H 147.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#31AA50
RGBrgb(49, 170, 80)
HSLhsl(135, 55%, 43%)
HSVhsv(135, 71%, 67%)
CMYKcmyk(71.2%, 0%, 52.9%, 33.3%)
CIE-LABlab(61.64, -52.44, 36.72)
CIE-LCHlch(61.64, 64.02, 145.00°)
OKLaboklab(65.17% -0.1412 0.0884)
OKLCHoklch(65.17% 0.167 147.9)
XYZxyz(17.0880, 29.9797, 12.4740)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA50 #AA318B
analogous
#4EAA31 #31AA50 #31AA8C
triadic
#31AA50 #5031AA #AA5031
tetradic
#31AA50 #314EAA #AA318B #AA8C31
square
#31AA50 #314EAA #AA318B #AA8C31
split-complementary
#31AA50 #8C31AA #AA314E
monochromatic
#164B23 #237A3A #31AA50 #4DCC6D #7CD994

Accessibility & contrast

On white

3.00
#31AA50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#31AA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA50
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA50#FFFFFF#000000##000000
##31AA501.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B48
Deuteranopia (green-blind)
#9D9157
Tritanopia (blue-blind)
#00A695
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa50;
/* rgb */ color: rgb(49, 170, 80);
/* oklch */ color: oklch(65.2% 0.167 147.9);
Tailwind
colors: {
  custom: {
    50: '#7ac483',
    500: '#31aa50',
    950: '#000000',
  },
}
SCSS
$custom: #31aa50;
$custom-light: #7ac483;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa50",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 80
  },
  "hsl": {
    "h": 135.372,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6517,
    "c": 0.16664,
    "h": 147.9
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#31AA50
secondary
#C275AE
accent
#49B8DF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AA50

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

Preview Lab → · Contrast checker → · Palette generator →

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