#31AC57#31AC57

#31AC57 is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.163 H 149.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#31AC57
RGBrgb(49, 172, 87)
HSLhsl(139, 56%, 43%)
HSVhsv(139, 72%, 67%)
CMYKcmyk(71.5%, 0%, 49.4%, 32.5%)
CIE-LABlab(62.38, -52.09, 34.10)
CIE-LCHlch(62.38, 62.27, 146.79°)
OKLaboklab(65.81% -0.1402 0.0829)
OKLCHoklch(65.81% 0.163 149.4)
XYZxyz(17.7380, 30.8441, 14.0337)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC57 #AC3186
analogous
#48AC31 #31AC57 #31AC94
triadic
#31AC57 #5731AC #AC5731
tetradic
#31AC57 #3148AC #AC3186 #AC9431
square
#31AC57 #3148AC #AC3186 #AC9431
split-complementary
#31AC57 #9431AC #AC3148
monochromatic
#164D27 #237C3F #31AC57 #4ECC75 #7DDA9A

Accessibility & contrast

On white

2.93
#31AC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#31AC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC57
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC57#FFFFFF#000000##000000
##31AC571.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D50
Deuteranopia (green-blind)
#9F935D
Tritanopia (blue-blind)
#00A998
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac57;
/* rgb */ color: rgb(49, 172, 87);
/* oklch */ color: oklch(65.8% 0.163 149.4);
Tailwind
colors: {
  custom: {
    50: '#7ac688',
    500: '#31ac57',
    950: '#000000',
  },
}
SCSS
$custom: #31ac57;
$custom-light: #7ac688;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac57",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 87
  },
  "hsl": {
    "h": 138.537,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65811,
    "c": 0.16291,
    "h": 149.4
  },
  "luminance": 0.30846
}

Semantic roles & 50–950 ramp

primary
#31AC57
secondary
#C376AB
accent
#49B1DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AC57

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

Preview Lab → · Contrast checker → · Palette generator →

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