#31AA56#31AA56

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

Color values

HEX#31AA56
RGBrgb(49, 170, 86)
HSLhsl(138, 55%, 43%)
HSVhsv(138, 71%, 67%)
CMYKcmyk(71.2%, 0%, 49.4%, 33.3%)
CIE-LABlab(61.72, -51.52, 33.79)
CIE-LCHlch(61.72, 61.61, 146.74°)
OKLaboklab(65.26% -0.1387 0.0822)
OKLCHoklch(65.26% 0.161 149.4)
XYZxyz(17.3197, 30.0724, 13.6941)
Luminance0.3007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA56 #AA3185
analogous
#49AA31 #31AA56 #31AA92
triadic
#31AA56 #5631AA #AA5631
tetradic
#31AA56 #3149AA #AA3185 #AA9231
square
#31AA56 #3149AA #AA3185 #AA9231
split-complementary
#31AA56 #9231AA #AA3149
monochromatic
#164B26 #237A3E #31AA56 #4DCC73 #7CD999

Accessibility & contrast

On white

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

On black

7.01
#31AA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA56
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA56#FFFFFF#000000##000000
##31AA561.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B4F
Deuteranopia (green-blind)
#9D915C
Tritanopia (blue-blind)
#00A796
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa56;
/* rgb */ color: rgb(49, 170, 86);
/* oklch */ color: oklch(65.3% 0.161 149.4);
Tailwind
colors: {
  custom: {
    50: '#7ac487',
    500: '#31aa56',
    950: '#000000',
  },
}
SCSS
$custom: #31aa56;
$custom-light: #7ac487;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa56",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 86
  },
  "hsl": {
    "h": 138.347,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65262,
    "c": 0.1612,
    "h": 149.4
  },
  "luminance": 0.30074
}

Semantic roles & 50–950 ramp

primary
#31AA56
secondary
#C275AA
accent
#49B1DF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AA56

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

Preview Lab → · Contrast checker → · Palette generator →

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