#31A63D#31A63D

#31A63D is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.178 H 144.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#31A63D
RGBrgb(49, 166, 61)
HSLhsl(126, 54%, 42%)
HSVhsv(126, 70%, 65%)
CMYKcmyk(70.5%, 0%, 63.3%, 34.9%)
CIE-LABlab(60.12, -53.52, 44.00)
CIE-LCHlch(60.12, 69.29, 140.58°)
OKLaboklab(63.85% -0.1447 0.1028)
OKLCHoklch(63.85% 0.178 144.6)
XYZxyz(15.7441, 28.2606, 9.0391)
Luminance0.2826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A63D #A6319A
analogous
#5FA631 #31A63D #31A678
triadic
#31A63D #3D31A6 #A63D31
tetradic
#31A63D #315FA6 #A6319A #A67831
square
#31A63D #315FA6 #A6319A #A67831
split-complementary
#31A63D #7831A6 #A6315F
monochromatic
#15471A #23772C #31A63D #4ACA58 #7AD883

Accessibility & contrast

On white

3.16
#31A63D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#31A63D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A63D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A63D#FFFFFF#000000##000000
##31A63D1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99731
Deuteranopia (green-blind)
#9B8D46
Tritanopia (blue-blind)
#03A290
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a63d;
/* rgb */ color: rgb(49, 166, 61);
/* oklch */ color: oklch(63.8% 0.178 144.6);
Tailwind
colors: {
  custom: {
    50: '#7ac177',
    500: '#31a63d',
    950: '#000000',
  },
}
SCSS
$custom: #31a63d;
$custom-light: #7ac177;
$custom-dark: #000000;
JSON
{
  "hex": "#31a63d",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 126.154,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.17754,
    "h": 144.6
  },
  "luminance": 0.28262
}

Semantic roles & 50–950 ramp

primary
#31A63D
secondary
#C073B8
accent
#4ACFDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A63D

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

Preview Lab → · Contrast checker → · Palette generator →

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