#31AC3D#31AC3D

#31AC3D is a light, vivid green. Relative luminance 0.305; OKLCH L 65.5% C 0.185 H 144.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#31AC3D
RGBrgb(49, 172, 61)
HSLhsl(126, 56%, 43%)
HSVhsv(126, 72%, 67%)
CMYKcmyk(71.5%, 0%, 64.5%, 32.5%)
CIE-LABlab(62.08, -55.60, 46.19)
CIE-LCHlch(62.08, 72.28, 140.28°)
OKLaboklab(65.47% -0.1504 0.1075)
OKLCHoklch(65.47% 0.185 144.5)
XYZxyz(16.8603, 30.4931, 9.4112)
Luminance0.3049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC3D #AC31A0
analogous
#62AC31 #31AC3D #31AC7A
triadic
#31AC3D #3D31AC #AC3D31
tetradic
#31AC3D #3162AC #AC31A0 #AC7A31
square
#31AC3D #3162AC #AC31A0 #AC7A31
split-complementary
#31AC3D #7A31AC #AC3162
monochromatic
#164D1B #237C2C #31AC3D #4ECC5A #7DDA86

Accessibility & contrast

On white

2.96
#31AC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#31AC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC3D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC3D#FFFFFF#000000##000000
##31AC3D1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C30
Deuteranopia (green-blind)
#A19247
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac3d;
/* rgb */ color: rgb(49, 172, 61);
/* oklch */ color: oklch(65.5% 0.185 144.5);
Tailwind
colors: {
  custom: {
    50: '#7bc677',
    500: '#31ac3d',
    950: '#000000',
  },
}
SCSS
$custom: #31ac3d;
$custom-light: #7bc677;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac3d",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 125.854,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65467,
    "c": 0.18483,
    "h": 144.5
  },
  "luminance": 0.30495
}

Semantic roles & 50–950 ramp

primary
#31AC3D
secondary
#C376BB
accent
#49D0DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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