#31B558#31B558

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

Color values

HEX#31B558
RGBrgb(49, 181, 88)
HSLhsl(138, 57%, 45%)
HSVhsv(138, 73%, 71%)
CMYKcmyk(72.9%, 0%, 51.4%, 29%)
CIE-LABlab(65.28, -55.20, 37.21)
CIE-LCHlch(65.28, 66.57, 146.01°)
OKLaboklab(68.22% -0.1485 0.09)
OKLCHoklch(68.22% 0.174 148.8)
XYZxyz(19.5504, 34.4031, 14.8407)
Luminance0.3441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B558 #B5318E
analogous
#4CB531 #31B558 #31B59A
triadic
#31B558 #5831B5 #B55831
tetradic
#31B558 #314CB5 #B5318E #B59A31
square
#31B558 #314CB5 #B5318E #B59A31
split-complementary
#31B558 #9A31B5 #B5314C
monochromatic
#175529 #248541 #31B558 #53D078 #83DD9E

Accessibility & contrast

On white

2.66
#31B558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#31B558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B558
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B558#FFFFFF#000000##000000
##31B5581.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A550
Deuteranopia (green-blind)
#A79A5F
Tritanopia (blue-blind)
#00B1A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b558;
/* rgb */ color: rgb(49, 181, 88);
/* oklch */ color: oklch(68.2% 0.174 148.8);
Tailwind
colors: {
  custom: {
    50: '#7ccc89',
    500: '#31b558',
    950: '#000000',
  },
}
SCSS
$custom: #31b558;
$custom-light: #7ccc89;
$custom-dark: #000000;
JSON
{
  "hex": "#31b558",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 137.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68217,
    "c": 0.17365,
    "h": 148.8
  },
  "luminance": 0.34405
}

Semantic roles & 50–950 ramp

primary
#31B558
secondary
#C77BB0
accent
#47B3E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B558

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

Preview Lab → · Contrast checker → · Palette generator →

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