#31A662#31A662

#31A662 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.4% C 0.145 H 153.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#31A662
RGBrgb(49, 166, 98)
HSLhsl(145, 54%, 42%)
HSVhsv(145, 70%, 65%)
CMYKcmyk(70.5%, 0%, 41%, 34.9%)
CIE-LABlab(60.61, -47.92, 26.08)
CIE-LCHlch(60.61, 54.56, 151.44°)
OKLaboklab(64.41% -0.1293 0.0648)
OKLCHoklch(64.41% 0.145 153.4)
XYZxyz(17.1059, 28.8053, 16.2114)
Luminance0.2881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A662 #A63175
analogous
#3BA631 #31A662 #31A69D
triadic
#31A662 #6231A6 #A66231
tetradic
#31A662 #313BA6 #A63175 #A69D31
square
#31A662 #313BA6 #A63175 #A69D31
split-complementary
#31A662 #9D31A6 #A6313B
monochromatic
#15472A #237746 #31A662 #4ACA80 #7AD8A1

Accessibility & contrast

On white

3.11
#31A662 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#31A662 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A662
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A662#FFFFFF#000000##000000
##31A6621.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6985D
Deuteranopia (green-blind)
#978E67
Tritanopia (blue-blind)
#00A495
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a662;
/* rgb */ color: rgb(49, 166, 98);
/* oklch */ color: oklch(64.4% 0.145 153.4);
Tailwind
colors: {
  custom: {
    50: '#79c18f',
    500: '#31a662',
    950: '#000000',
  },
}
SCSS
$custom: #31a662;
$custom-light: #79c18f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a662",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 98
  },
  "hsl": {
    "h": 145.128,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64408,
    "c": 0.14461,
    "h": 153.4
  },
  "luminance": 0.28807
}

Semantic roles & 50–950 ramp

primary
#31A662
secondary
#C073A0
accent
#4AA0DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A662

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

Preview Lab → · Contrast checker → · Palette generator →

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