#31D366#31D366

#31D366 is a light, vivid green. Relative luminance 0.482; OKLCH L 76.3% C 0.199 H 149.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#31D366
RGBrgb(49, 211, 102)
HSLhsl(140, 65%, 51%)
HSVhsv(140, 77%, 83%)
CMYKcmyk(76.8%, 0%, 51.7%, 17.3%)
CIE-LABlab(74.95, -63.51, 42.27)
CIE-LCHlch(74.95, 76.30, 146.35°)
OKLaboklab(76.28% -0.1706 0.102)
OKLCHoklch(76.28% 0.199 149.1)
XYZxyz(26.9569, 48.1976, 20.4501)
Luminance0.4820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D366 #D3319E
analogous
#4DD331 #31D366 #31D3B7
triadic
#31D366 #6631D3 #D36631
tetradic
#31D366 #314DD3 #D3319E #D3B731
square
#31D366 #314DD3 #D3319E #D3B731
split-complementary
#31D366 #B731D3 #D3314D
monochromatic
#187135 #23A44D #31D366 #63DE8B #96E9B1

Accessibility & contrast

On white

1.97
#31D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#31D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D366
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D366#FFFFFF#000000##000000
##31D3661.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05D
Deuteranopia (green-blind)
#C2B36E
Tritanopia (blue-blind)
#00CFBA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #31d366;
/* rgb */ color: rgb(49, 211, 102);
/* oklch */ color: oklch(76.3% 0.199 149.1);
Tailwind
colors: {
  custom: {
    50: '#82e294',
    500: '#31d366',
    950: '#000000',
  },
}
SCSS
$custom: #31d366;
$custom-light: #82e294;
$custom-dark: #000000;
JSON
{
  "hex": "#31d366",
  "rgb": {
    "r": 49,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 139.63,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76278,
    "c": 0.19882,
    "h": 149.1
  },
  "luminance": 0.48201
}

Semantic roles & 50–950 ramp

primary
#31D366
secondary
#D48CBC
accent
#40B1E8
background
#F8FEF9
surface
#F0FCF1
border
#CBD5CB
text
#0C150D
muted
#7D847E

Preview Lab

Preview with #31D366

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

Preview Lab → · Contrast checker → · Palette generator →

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