#31B643#31B643

#31B643 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.2% C 0.192 H 145.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#31B643
RGBrgb(49, 182, 67)
HSLhsl(128, 58%, 45%)
HSVhsv(128, 73%, 71%)
CMYKcmyk(73.1%, 0%, 63.2%, 28.6%)
CIE-LABlab(65.37, -58.33, 47.23)
CIE-LCHlch(65.37, 75.05, 141.01°)
OKLaboklab(68.21% -0.1575 0.1103)
OKLCHoklch(68.21% 0.192 145)
XYZxyz(19.0064, 34.5120, 10.9689)
Luminance0.3451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B643 #B631A4
analogous
#62B631 #31B643 #31B685
triadic
#31B643 #4331B6 #B64331
tetradic
#31B643 #3162B6 #B631A4 #B68531
square
#31B643 #3162B6 #B631A4 #B68531
split-complementary
#31B643 #8531B6 #B63162
monochromatic
#17561F #248631 #31B643 #53D164 #84DE90

Accessibility & contrast

On white

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

On black

7.90
#31B643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B643
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B643#FFFFFF#000000##000000
##31B6431.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A536
Deuteranopia (green-blind)
#AA9B4D
Tritanopia (blue-blind)
#00B19E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b643;
/* rgb */ color: rgb(49, 182, 67);
/* oklch */ color: oklch(68.2% 0.192 145.0);
Tailwind
colors: {
  custom: {
    50: '#7dcd7c',
    500: '#31b643',
    950: '#000000',
  },
}
SCSS
$custom: #31b643;
$custom-light: #7dcd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b643",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 128.12,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68212,
    "c": 0.19231,
    "h": 145
  },
  "luminance": 0.34514
}

Semantic roles & 50–950 ramp

primary
#31B643
secondary
#C77CBD
accent
#47CCE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B643

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

Preview Lab → · Contrast checker → · Palette generator →

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