#31A356#31A356

#31A356 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.4% C 0.152 H 150.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#31A356
RGBrgb(49, 163, 86)
HSLhsl(139, 54%, 42%)
HSVhsv(139, 70%, 64%)
CMYKcmyk(69.9%, 0%, 47.2%, 36.1%)
CIE-LABlab(59.45, -48.90, 30.93)
CIE-LCHlch(59.45, 57.86, 147.68°)
OKLaboklab(63.39% -0.1317 0.0757)
OKLCHoklch(63.39% 0.152 150.1)
XYZxyz(16.0422, 27.5175, 13.2683)
Luminance0.2752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A356 #A3317E
analogous
#45A331 #31A356 #31A38F
triadic
#31A356 #5631A3 #A35631
tetradic
#31A356 #3145A3 #A3317E #A38F31
square
#31A356 #3145A3 #A3317E #A38F31
split-complementary
#31A356 #8F31A3 #A33145
monochromatic
#154524 #23743D #31A356 #49C872 #78D697

Accessibility & contrast

On white

3.23
#31A356 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#31A356 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A356
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A356#FFFFFF#000000##000000
##31A3561.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49550
Deuteranopia (green-blind)
#968B5B
Tritanopia (blue-blind)
#00A091
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a356;
/* rgb */ color: rgb(49, 163, 86);
/* oklch */ color: oklch(63.4% 0.152 150.1);
Tailwind
colors: {
  custom: {
    50: '#78bf87',
    500: '#31a356',
    950: '#000000',
  },
}
SCSS
$custom: #31a356;
$custom-light: #78bf87;
$custom-dark: #000000;
JSON
{
  "hex": "#31a356",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 86
  },
  "hsl": {
    "h": 139.474,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6339,
    "c": 0.1519,
    "h": 150.1
  },
  "luminance": 0.27519
}

Semantic roles & 50–950 ramp

primary
#31A356
secondary
#BF71A6
accent
#4BAEDD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A356

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

Preview Lab → · Contrast checker → · Palette generator →

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