#31B356#31B356

#31B356 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.173 H 148.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B356
RGBrgb(49, 179, 86)
HSLhsl(137, 57%, 45%)
HSVhsv(137, 73%, 70%)
CMYKcmyk(72.6%, 0%, 52%, 29.8%)
CIE-LABlab(64.61, -54.79, 37.39)
CIE-LCHlch(64.61, 66.33, 145.69°)
OKLaboklab(67.66% -0.1474 0.0903)
OKLCHoklch(67.66% 0.173 148.5)
XYZxyz(19.0650, 33.5629, 14.2758)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B356 #B3318E
analogous
#4DB331 #31B356 #31B397
triadic
#31B356 #5631B3 #B35631
tetradic
#31B356 #314DB3 #B3318E #B39731
square
#31B356 #314DB3 #B3318E #B39731
split-complementary
#31B356 #9731B3 #B3314D
monochromatic
#175328 #24833F #31B356 #52D075 #82DD9C

Accessibility & contrast

On white

2.72
#31B356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B356
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B356#FFFFFF#000000##000000
##31B3561.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34E
Deuteranopia (green-blind)
#A5985D
Tritanopia (blue-blind)
#00AF9E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b356;
/* rgb */ color: rgb(49, 179, 86);
/* oklch */ color: oklch(67.7% 0.173 148.5);
Tailwind
colors: {
  custom: {
    50: '#7ccb87',
    500: '#31b356',
    950: '#000000',
  },
}
SCSS
$custom: #31b356;
$custom-light: #7ccb87;
$custom-dark: #000000;
JSON
{
  "hex": "#31b356",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 86
  },
  "hsl": {
    "h": 137.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67657,
    "c": 0.17287,
    "h": 148.5
  },
  "luminance": 0.33565
}

Semantic roles & 50–950 ramp

primary
#31B356
secondary
#C67AB0
accent
#48B5E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B356

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

Preview Lab → · Contrast checker → · Palette generator →

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