#31B361#31B361

#31B361 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.8% C 0.163 H 151.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#31B361
RGBrgb(49, 179, 97)
HSLhsl(142, 57%, 45%)
HSVhsv(142, 73%, 70%)
CMYKcmyk(72.6%, 0%, 45.8%, 29.8%)
CIE-LABlab(64.77, -53.02, 32.00)
CIE-LCHlch(64.77, 61.93, 148.89°)
OKLaboklab(67.83% -0.1427 0.0786)
OKLCHoklch(67.83% 0.163 151.2)
XYZxyz(19.5427, 33.7540, 16.7922)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B361 #B33183
analogous
#42B331 #31B361 #31B3A2
triadic
#31B361 #6131B3 #B36131
tetradic
#31B361 #3142B3 #B33183 #B3A231
square
#31B361 #3142B3 #B33183 #B3A231
split-complementary
#31B361 #A231B3 #B33142
monochromatic
#17532D #248347 #31B361 #52D080 #82DDA3

Accessibility & contrast

On white

2.71
#31B361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#31B361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B361
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B361#FFFFFF#000000##000000
##31B3611.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45B
Deuteranopia (green-blind)
#A49967
Tritanopia (blue-blind)
#00B09F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b361;
/* rgb */ color: rgb(49, 179, 97);
/* oklch */ color: oklch(67.8% 0.163 151.2);
Tailwind
colors: {
  custom: {
    50: '#7bcb8f',
    500: '#31b361',
    950: '#000000',
  },
}
SCSS
$custom: #31b361;
$custom-light: #7bcb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b361",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 97
  },
  "hsl": {
    "h": 142.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67833,
    "c": 0.16288,
    "h": 151.2
  },
  "luminance": 0.33756
}

Semantic roles & 50–950 ramp

primary
#31B361
secondary
#C67AAA
accent
#48A8E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B361

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

Preview Lab → · Contrast checker → · Palette generator →

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