#31AA58#31AA58

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

Color values

HEX#31AA58
RGBrgb(49, 170, 88)
HSLhsl(139, 55%, 43%)
HSVhsv(139, 71%, 67%)
CMYKcmyk(71.2%, 0%, 48.2%, 33.3%)
CIE-LABlab(61.74, -51.19, 32.80)
CIE-LCHlch(61.74, 60.80, 147.35°)
OKLaboklab(65.29% -0.1378 0.08)
OKLCHoklch(65.29% 0.159 149.9)
XYZxyz(17.4014, 30.1051, 14.1244)
Luminance0.3011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA58 #AA3183
analogous
#46AA31 #31AA58 #31AA94
triadic
#31AA58 #5831AA #AA5831
tetradic
#31AA58 #3146AA #AA3183 #AA9431
square
#31AA58 #3146AA #AA3183 #AA9431
split-complementary
#31AA58 #9431AA #AA3146
monochromatic
#164B27 #237A3F #31AA58 #4DCC76 #7CD99A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA58#FFFFFF#000000##000000
##31AA581.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)
#AB9B51
Deuteranopia (green-blind)
#9D915E
Tritanopia (blue-blind)
#00A797
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa58;
/* rgb */ color: rgb(49, 170, 88);
/* oklch */ color: oklch(65.3% 0.159 149.9);
Tailwind
colors: {
  custom: {
    50: '#7ac488',
    500: '#31aa58',
    950: '#000000',
  },
}
SCSS
$custom: #31aa58;
$custom-light: #7ac488;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa58",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 88
  },
  "hsl": {
    "h": 139.339,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65294,
    "c": 0.15937,
    "h": 149.9
  },
  "luminance": 0.30107
}

Semantic roles & 50–950 ramp

primary
#31AA58
secondary
#C275A9
accent
#49AEDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AA58

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

Preview Lab → · Contrast checker → · Palette generator →

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