#31B559#31B559

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

Color values

HEX#31B559
RGBrgb(49, 181, 89)
HSLhsl(138, 57%, 45%)
HSVhsv(138, 73%, 71%)
CMYKcmyk(72.9%, 0%, 50.8%, 29%)
CIE-LABlab(65.29, -55.05, 36.73)
CIE-LCHlch(65.29, 66.18, 146.29°)
OKLaboklab(68.23% -0.1481 0.089)
OKLCHoklch(68.23% 0.173 149)
XYZxyz(19.5921, 34.4197, 15.0604)
Luminance0.3442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B559 #B5318D
analogous
#4BB531 #31B559 #31B59B
triadic
#31B559 #5931B5 #B55931
tetradic
#31B559 #314BB5 #B5318D #B59B31
square
#31B559 #314BB5 #B5318D #B59B31
split-complementary
#31B559 #9B31B5 #B5314B
monochromatic
#17552A #248541 #31B559 #53D079 #83DD9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B559#FFFFFF#000000##000000
##31B5591.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)
#B6A551
Deuteranopia (green-blind)
#A79A60
Tritanopia (blue-blind)
#00B2A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b559;
/* rgb */ color: rgb(49, 181, 89);
/* oklch */ color: oklch(68.2% 0.173 149.0);
Tailwind
colors: {
  custom: {
    50: '#7ccc8a',
    500: '#31b559',
    950: '#000000',
  },
}
SCSS
$custom: #31b559;
$custom-light: #7ccc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b559",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 89
  },
  "hsl": {
    "h": 138.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.17276,
    "h": 149
  },
  "luminance": 0.34422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B559

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

Preview Lab → · Contrast checker → · Palette generator →

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