#31A646#31A646

#31A646 is a light, vivid green. Relative luminance 0.284; OKLCH L 64.0% C 0.170 H 146.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#31A646
RGBrgb(49, 166, 70)
HSLhsl(131, 54%, 42%)
HSVhsv(131, 70%, 65%)
CMYKcmyk(70.5%, 0%, 57.8%, 34.9%)
CIE-LABlab(60.22, -52.41, 39.91)
CIE-LCHlch(60.22, 65.88, 142.71°)
OKLaboklab(63.96% -0.1414 0.0948)
OKLCHoklch(63.96% 0.17 146.2)
XYZxyz(16.0072, 28.3658, 10.4247)
Luminance0.2837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A646 #A63191
analogous
#57A631 #31A646 #31A681
triadic
#31A646 #4631A6 #A64631
tetradic
#31A646 #3157A6 #A63191 #A68131
square
#31A646 #3157A6 #A63191 #A68131
split-complementary
#31A646 #8131A6 #A63157
monochromatic
#15471E #237732 #31A646 #4ACA61 #7AD88B

Accessibility & contrast

On white

3.15
#31A646 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#31A646 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A646
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A646#FFFFFF#000000##000000
##31A6461.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8973D
Deuteranopia (green-blind)
#9B8D4E
Tritanopia (blue-blind)
#00A291
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a646;
/* rgb */ color: rgb(49, 166, 70);
/* oklch */ color: oklch(64.0% 0.170 146.2);
Tailwind
colors: {
  custom: {
    50: '#79c17c',
    500: '#31a646',
    950: '#000000',
  },
}
SCSS
$custom: #31a646;
$custom-light: #79c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a646",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 130.769,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63957,
    "c": 0.17022,
    "h": 146.2
  },
  "luminance": 0.28368
}

Semantic roles & 50–950 ramp

primary
#31A646
secondary
#C073B2
accent
#4AC3DE
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A646

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

Preview Lab → · Contrast checker → · Palette generator →

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