#31AA59#31AA59

#31AA59 is a light, vivid green. Relative luminance 0.301; OKLCH L 65.3% C 0.158 H 150.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#31AA59
RGBrgb(49, 170, 89)
HSLhsl(140, 55%, 43%)
HSVhsv(140, 71%, 67%)
CMYKcmyk(71.2%, 0%, 47.6%, 33.3%)
CIE-LABlab(61.76, -51.03, 32.30)
CIE-LCHlch(61.76, 60.39, 147.67°)
OKLaboklab(65.31% -0.1374 0.0789)
OKLCHoklch(65.31% 0.158 150.1)
XYZxyz(17.4431, 30.1217, 14.3441)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA59 #AA3182
analogous
#45AA31 #31AA59 #31AA95
triadic
#31AA59 #5931AA #AA5931
tetradic
#31AA59 #3145AA #AA3182 #AA9531
square
#31AA59 #3145AA #AA3182 #AA9531
split-complementary
#31AA59 #9531AA #AA3145
monochromatic
#164B27 #237A40 #31AA59 #4DCC77 #7CD99B

Accessibility & contrast

On white

2.99
#31AA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#31AA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA59
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA59#FFFFFF#000000##000000
##31AA591.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B53
Deuteranopia (green-blind)
#9C915F
Tritanopia (blue-blind)
#00A797
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa59;
/* rgb */ color: rgb(49, 170, 89);
/* oklch */ color: oklch(65.3% 0.158 150.1);
Tailwind
colors: {
  custom: {
    50: '#7ac489',
    500: '#31aa59',
    950: '#000000',
  },
}
SCSS
$custom: #31aa59;
$custom-light: #7ac489;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa59",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 89
  },
  "hsl": {
    "h": 139.835,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65311,
    "c": 0.15844,
    "h": 150.1
  },
  "luminance": 0.30124
}

Semantic roles & 50–950 ramp

primary
#31AA59
secondary
#C275A8
accent
#49ADDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AA59

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

Preview Lab → · Contrast checker → · Palette generator →

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