#31AD40#31AD40

#31AD40 is a light, vivid green. Relative luminance 0.309; OKLCH L 65.8% C 0.184 H 144.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#31AD40
RGBrgb(49, 173, 64)
HSLhsl(127, 56%, 44%)
HSVhsv(127, 72%, 68%)
CMYKcmyk(71.7%, 0%, 63%, 32.2%)
CIE-LABlab(62.43, -55.61, 45.25)
CIE-LCHlch(62.43, 71.69, 140.86°)
OKLaboklab(65.77% -0.1503 0.1058)
OKLCHoklch(65.77% 0.184 144.9)
XYZxyz(17.1345, 30.9084, 9.9124)
Luminance0.3091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD40 #AD319E
analogous
#60AD31 #31AD40 #31AD7E
triadic
#31AD40 #4031AD #AD4031
tetradic
#31AD40 #3160AD #AD319E #AD7E31
square
#31AD40 #3160AD #AD319E #AD7E31
split-complementary
#31AD40 #7E31AD #AD3160
monochromatic
#164E1D #237D2E #31AD40 #4ECD5E #7EDA89

Accessibility & contrast

On white

2.92
#31AD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#31AD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD40
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD40#FFFFFF#000000##000000
##31AD401.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D33
Deuteranopia (green-blind)
#A29349
Tritanopia (blue-blind)
#00A896
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad40;
/* rgb */ color: rgb(49, 173, 64);
/* oklch */ color: oklch(65.8% 0.184 144.9);
Tailwind
colors: {
  custom: {
    50: '#7bc779',
    500: '#31ad40',
    950: '#000000',
  },
}
SCSS
$custom: #31ad40;
$custom-light: #7bc779;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad40",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 127.258,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65769,
    "c": 0.18376,
    "h": 144.9
  },
  "luminance": 0.3091
}

Semantic roles & 50–950 ramp

primary
#31AD40
secondary
#C377BA
accent
#49CDDF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AD40

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

Preview Lab → · Contrast checker → · Palette generator →

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