#31AD3A#31AD3A

#31AD3A is a light, vivid green. Relative luminance 0.308; OKLCH L 65.7% C 0.188 H 144.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#31AD3A
RGBrgb(49, 173, 58)
HSLhsl(124, 56%, 44%)
HSVhsv(124, 72%, 68%)
CMYKcmyk(71.7%, 0%, 66.5%, 32.2%)
CIE-LABlab(62.38, -56.26, 47.81)
CIE-LCHlch(62.38, 73.83, 139.64°)
OKLaboklab(65.71% -0.1523 0.1106)
OKLCHoklch(65.71% 0.188 144)
XYZxyz(16.9728, 30.8437, 9.0611)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD3A #AD31A4
analogous
#66AD31 #31AD3A #31AD78
triadic
#31AD3A #3A31AD #AD3A31
tetradic
#31AD3A #3166AD #AD31A4 #AD7831
square
#31AD3A #3166AD #AD31A4 #AD7831
split-complementary
#31AD3A #7831AD #AD3166
monochromatic
#164E1A #237D2A #31AD3A #4ECD57 #7EDA85

Accessibility & contrast

On white

2.93
#31AD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#31AD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD3A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD3A#FFFFFF#000000##000000
##31AD3A1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2B
Deuteranopia (green-blind)
#A29344
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad3a;
/* rgb */ color: rgb(49, 173, 58);
/* oklch */ color: oklch(65.7% 0.188 144.0);
Tailwind
colors: {
  custom: {
    50: '#7cc775',
    500: '#31ad3a',
    950: '#000000',
  },
}
SCSS
$custom: #31ad3a;
$custom-light: #7cc775;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad3a",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 124.355,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65706,
    "c": 0.18823,
    "h": 144
  },
  "luminance": 0.30846
}

Semantic roles & 50–950 ramp

primary
#31AD3A
secondary
#C377BE
accent
#49D4DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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