#31A63F#31A63F

#31A63F is a light, vivid green. Relative luminance 0.283; OKLCH L 63.9% C 0.176 H 144.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#31A63F
RGBrgb(49, 166, 63)
HSLhsl(127, 54%, 42%)
HSVhsv(127, 70%, 65%)
CMYKcmyk(70.5%, 0%, 62%, 34.9%)
CIE-LABlab(60.14, -53.29, 43.11)
CIE-LCHlch(60.14, 68.54, 141.02°)
OKLaboklab(63.87% -0.144 0.1011)
OKLCHoklch(63.87% 0.176 144.9)
XYZxyz(15.7990, 28.2826, 9.3281)
Luminance0.2828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A63F #A63198
analogous
#5EA631 #31A63F #31A679
triadic
#31A63F #3F31A6 #A63F31
tetradic
#31A63F #315EA6 #A63198 #A67931
square
#31A63F #315EA6 #A63198 #A67931
split-complementary
#31A63F #7931A6 #A6315E
monochromatic
#15471B #23772D #31A63F #4ACA5A #7AD885

Accessibility & contrast

On white

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

On black

6.66
#31A63F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A63F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A63F#FFFFFF#000000##000000
##31A63F1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99734
Deuteranopia (green-blind)
#9B8D48
Tritanopia (blue-blind)
#01A290
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a63f;
/* rgb */ color: rgb(49, 166, 63);
/* oklch */ color: oklch(63.9% 0.176 144.9);
Tailwind
colors: {
  custom: {
    50: '#7ac178',
    500: '#31a63f',
    950: '#000000',
  },
}
SCSS
$custom: #31a63f;
$custom-light: #7ac178;
$custom-dark: #000000;
JSON
{
  "hex": "#31a63f",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 127.179,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63871,
    "c": 0.17597,
    "h": 144.9
  },
  "luminance": 0.28284
}

Semantic roles & 50–950 ramp

primary
#31A63F
secondary
#C073B7
accent
#4ACCDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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