#31B646#31B646

#31B646 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.2% C 0.190 H 145.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#31B646
RGBrgb(49, 182, 70)
HSLhsl(129, 58%, 45%)
HSVhsv(129, 73%, 71%)
CMYKcmyk(73.1%, 0%, 61.5%, 28.6%)
CIE-LABlab(65.40, -57.99, 45.92)
CIE-LCHlch(65.40, 73.97, 141.62°)
OKLaboklab(68.25% -0.1565 0.1078)
OKLCHoklch(68.25% 0.19 145.4)
XYZxyz(19.0987, 34.5489, 11.4552)
Luminance0.3455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B646 #B631A1
analogous
#5EB631 #31B646 #31B689
triadic
#31B646 #4631B6 #B64631
tetradic
#31B646 #315EB6 #B631A1 #B68931
square
#31B646 #315EB6 #B631A1 #B68931
split-complementary
#31B646 #8931B6 #B6315E
monochromatic
#175621 #248633 #31B646 #53D167 #84DE92

Accessibility & contrast

On white

2.65
#31B646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#31B646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B646
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B646#FFFFFF#000000##000000
##31B6461.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b646;
/* rgb */ color: rgb(49, 182, 70);
/* oklch */ color: oklch(68.2% 0.190 145.4);
Tailwind
colors: {
  custom: {
    50: '#7dcd7d',
    500: '#31b646',
    950: '#000000',
  },
}
SCSS
$custom: #31b646;
$custom-light: #7dcd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b646",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 129.474,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68245,
    "c": 0.19,
    "h": 145.4
  },
  "luminance": 0.34551
}

Semantic roles & 50–950 ramp

primary
#31B646
secondary
#C77CBB
accent
#47C9E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B646

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

Preview Lab → · Contrast checker → · Palette generator →

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