#31AA5B#31AA5B

#31AA5B is a light, vivid green. Relative luminance 0.302; OKLCH L 65.3% C 0.157 H 150.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#31AA5B
RGBrgb(49, 170, 91)
HSLhsl(141, 55%, 43%)
HSVhsv(141, 71%, 67%)
CMYKcmyk(71.2%, 0%, 46.5%, 33.3%)
CIE-LABlab(61.79, -50.69, 31.30)
CIE-LCHlch(61.79, 59.58, 148.31°)
OKLaboklab(65.34% -0.1365 0.0767)
OKLCHoklch(65.34% 0.157 150.7)
XYZxyz(17.5282, 30.1558, 14.7924)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA5B #AA3180
analogous
#44AA31 #31AA5B #31AA97
triadic
#31AA5B #5B31AA #AA5B31
tetradic
#31AA5B #3144AA #AA3180 #AA9731
square
#31AA5B #3144AA #AA3180 #AA9731
split-complementary
#31AA5B #9731AA #AA3144
monochromatic
#164B28 #237A42 #31AA5B #4DCC79 #7CD99C

Accessibility & contrast

On white

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

On black

7.03
#31AA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AA5B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA5B#FFFFFF#000000##000000
##31AA5B1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31aa5b;
/* rgb */ color: rgb(49, 170, 91);
/* oklch */ color: oklch(65.3% 0.157 150.7);
Tailwind
colors: {
  custom: {
    50: '#7ac48a',
    500: '#31aa5b',
    950: '#000000',
  },
}
SCSS
$custom: #31aa5b;
$custom-light: #7ac48a;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa5b",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 91
  },
  "hsl": {
    "h": 140.826,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65344,
    "c": 0.15658,
    "h": 150.7
  },
  "luminance": 0.30158
}

Semantic roles & 50–950 ramp

primary
#31AA5B
secondary
#C275A7
accent
#49ABDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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