#31A558#31A558

#31A558 is a light, vivid green. Relative luminance 0.283; OKLCH L 64.0% C 0.153 H 150.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#31A558
RGBrgb(49, 165, 88)
HSLhsl(140, 54%, 42%)
HSVhsv(140, 70%, 65%)
CMYKcmyk(70.3%, 0%, 46.7%, 35.3%)
CIE-LABlab(60.13, -49.32, 30.75)
CIE-LCHlch(60.13, 58.12, 148.06°)
OKLaboklab(63.96% -0.1328 0.0753)
OKLCHoklch(63.96% 0.153 150.4)
XYZxyz(16.4819, 28.2660, 13.8179)
Luminance0.2827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A558 #A5317E
analogous
#44A531 #31A558 #31A592
triadic
#31A558 #5831A5 #A55831
tetradic
#31A558 #3144A5 #A5317E #A59231
square
#31A558 #3144A5 #A5317E #A59231
split-complementary
#31A558 #9231A5 #A53144
monochromatic
#154726 #23763F #31A558 #4AC975 #79D799

Accessibility & contrast

On white

3.16
#31A558 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#31A558 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A558
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A558#FFFFFF#000000##000000
##31A5581.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69752
Deuteranopia (green-blind)
#988D5D
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a558;
/* rgb */ color: rgb(49, 165, 88);
/* oklch */ color: oklch(64.0% 0.153 150.4);
Tailwind
colors: {
  custom: {
    50: '#79c188',
    500: '#31a558',
    950: '#000000',
  },
}
SCSS
$custom: #31a558;
$custom-light: #79c188;
$custom-dark: #000000;
JSON
{
  "hex": "#31a558",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 88
  },
  "hsl": {
    "h": 140.172,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63959,
    "c": 0.15271,
    "h": 150.4
  },
  "luminance": 0.28268
}

Semantic roles & 50–950 ramp

primary
#31A558
secondary
#C072A6
accent
#4AACDE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A558

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

Preview Lab → · Contrast checker → · Palette generator →

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