#31A663#31A663

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

Color values

HEX#31A663
RGBrgb(49, 166, 99)
HSLhsl(146, 54%, 42%)
HSVhsv(146, 70%, 65%)
CMYKcmyk(70.5%, 0%, 40.4%, 34.9%)
CIE-LABlab(60.63, -47.73, 25.57)
CIE-LCHlch(60.63, 54.14, 151.82°)
OKLaboklab(64.43% -0.1288 0.0636)
OKLCHoklch(64.43% 0.144 153.7)
XYZxyz(17.1535, 28.8243, 16.4616)
Luminance0.2883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A663 #A63174
analogous
#39A631 #31A663 #31A69E
triadic
#31A663 #6331A6 #A66331
tetradic
#31A663 #3139A6 #A63174 #A69E31
square
#31A663 #3139A6 #A63174 #A69E31
split-complementary
#31A663 #9E31A6 #A63139
monochromatic
#15472B #237747 #31A663 #4ACA81 #7AD8A2

Accessibility & contrast

On white

3.10
#31A663 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#31A663 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A663
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A663#FFFFFF#000000##000000
##31A6631.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a663;
/* rgb */ color: rgb(49, 166, 99);
/* oklch */ color: oklch(64.4% 0.144 153.7);
Tailwind
colors: {
  custom: {
    50: '#79c190',
    500: '#31a663',
    950: '#000000',
  },
}
SCSS
$custom: #31a663;
$custom-light: #79c190;
$custom-dark: #000000;
JSON
{
  "hex": "#31a663",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 99
  },
  "hsl": {
    "h": 145.641,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.14366,
    "h": 153.7
  },
  "luminance": 0.28826
}

Semantic roles & 50–950 ramp

primary
#31A663
secondary
#C0739F
accent
#4A9FDE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A663

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

Preview Lab → · Contrast checker → · Palette generator →

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