#31B355#31B355

#31B355 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.6% C 0.174 H 148.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B355
RGBrgb(49, 179, 85)
HSLhsl(137, 57%, 45%)
HSVhsv(137, 73%, 70%)
CMYKcmyk(72.6%, 0%, 52.5%, 29.8%)
CIE-LABlab(64.60, -54.94, 37.87)
CIE-LCHlch(64.60, 66.72, 145.42°)
OKLaboklab(67.64% -0.1478 0.0913)
OKLCHoklch(67.64% 0.174 148.3)
XYZxyz(19.0249, 33.5469, 14.0651)
Luminance0.3355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B355 #B3318F
analogous
#4EB331 #31B355 #31B396
triadic
#31B355 #5531B3 #B35531
tetradic
#31B355 #314EB3 #B3318F #B39631
square
#31B355 #314EB3 #B3318F #B39631
split-complementary
#31B355 #9631B3 #B3314E
monochromatic
#175327 #24833E #31B355 #52D075 #82DD9B

Accessibility & contrast

On white

2.72
#31B355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B355
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B355#FFFFFF#000000##000000
##31B3551.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34D
Deuteranopia (green-blind)
#A5985C
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b355;
/* rgb */ color: rgb(49, 179, 85);
/* oklch */ color: oklch(67.6% 0.174 148.3);
Tailwind
colors: {
  custom: {
    50: '#7ccb87',
    500: '#31b355',
    950: '#000000',
  },
}
SCSS
$custom: #31b355;
$custom-light: #7ccb87;
$custom-dark: #000000;
JSON
{
  "hex": "#31b355",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 85
  },
  "hsl": {
    "h": 136.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67642,
    "c": 0.17375,
    "h": 148.3
  },
  "luminance": 0.33549
}

Semantic roles & 50–950 ramp

primary
#31B355
secondary
#C67AB1
accent
#48B6E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B355

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

Preview Lab → · Contrast checker → · Palette generator →

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