#31B556#31B556

#31B556 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.2% C 0.175 H 148.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#31B556
RGBrgb(49, 181, 86)
HSLhsl(137, 57%, 45%)
HSVhsv(137, 73%, 71%)
CMYKcmyk(72.9%, 0%, 52.5%, 29%)
CIE-LABlab(65.26, -55.50, 38.17)
CIE-LCHlch(65.26, 67.36, 145.48°)
OKLaboklab(68.19% -0.1493 0.092)
OKLCHoklch(68.19% 0.175 148.4)
XYZxyz(19.4687, 34.3704, 14.4104)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B556 #B53190
analogous
#4EB531 #31B556 #31B598
triadic
#31B556 #5631B5 #B55631
tetradic
#31B556 #314EB5 #B53190 #B59831
square
#31B556 #314EB5 #B53190 #B59831
split-complementary
#31B556 #9831B5 #B5314E
monochromatic
#175528 #24853F #31B556 #53D076 #83DD9C

Accessibility & contrast

On white

2.67
#31B556 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#31B556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B556
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B556#FFFFFF#000000##000000
##31B5561.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54E
Deuteranopia (green-blind)
#A79A5D
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b556;
/* rgb */ color: rgb(49, 181, 86);
/* oklch */ color: oklch(68.2% 0.175 148.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc88',
    500: '#31b556',
    950: '#000000',
  },
}
SCSS
$custom: #31b556;
$custom-light: #7ccc88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b556",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 86
  },
  "hsl": {
    "h": 136.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68188,
    "c": 0.17542,
    "h": 148.4
  },
  "luminance": 0.34373
}

Semantic roles & 50–950 ramp

primary
#31B556
secondary
#C77BB2
accent
#47B6E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B556

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

Preview Lab → · Contrast checker → · Palette generator →

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