#31AA57#31AA57

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

Color values

HEX#31AA57
RGBrgb(49, 170, 87)
HSLhsl(139, 55%, 43%)
HSVhsv(139, 71%, 67%)
CMYKcmyk(71.2%, 0%, 48.8%, 33.3%)
CIE-LABlab(61.73, -51.36, 33.30)
CIE-LCHlch(61.73, 61.20, 147.04°)
OKLaboklab(65.28% -0.1383 0.0811)
OKLCHoklch(65.28% 0.16 149.6)
XYZxyz(17.3603, 30.0886, 13.9077)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA57 #AA3184
analogous
#47AA31 #31AA57 #31AA93
triadic
#31AA57 #5731AA #AA5731
tetradic
#31AA57 #3147AA #AA3184 #AA9331
square
#31AA57 #3147AA #AA3184 #AA9331
split-complementary
#31AA57 #9331AA #AA3147
monochromatic
#164B26 #237A3F #31AA57 #4DCC74 #7CD999

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AA57#FFFFFF#000000##000000
##31AA571.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)
#AB9B50
Deuteranopia (green-blind)
#9D915D
Tritanopia (blue-blind)
#00A796
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa57;
/* rgb */ color: rgb(49, 170, 87);
/* oklch */ color: oklch(65.3% 0.160 149.6);
Tailwind
colors: {
  custom: {
    50: '#7ac488',
    500: '#31aa57',
    950: '#000000',
  },
}
SCSS
$custom: #31aa57;
$custom-light: #7ac488;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa57",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 87
  },
  "hsl": {
    "h": 138.843,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65278,
    "c": 0.16028,
    "h": 149.6
  },
  "luminance": 0.30091
}

Semantic roles & 50–950 ramp

primary
#31AA57
secondary
#C275AA
accent
#49B0DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AA57

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

Preview Lab → · Contrast checker → · Palette generator →

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