#31AD3C#31AD3C

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

Color values

HEX#31AD3C
RGBrgb(49, 173, 60)
HSLhsl(125, 56%, 44%)
HSVhsv(125, 72%, 68%)
CMYKcmyk(71.7%, 0%, 65.3%, 32.2%)
CIE-LABlab(62.39, -56.05, 46.97)
CIE-LCHlch(62.39, 73.13, 140.04°)
OKLaboklab(65.73% -0.1517 0.109)
OKLCHoklch(65.73% 0.187 144.3)
XYZxyz(17.0247, 30.8645, 9.3343)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD3C #AD31A2
analogous
#64AD31 #31AD3C #31AD7A
triadic
#31AD3C #3C31AD #AD3C31
tetradic
#31AD3C #3164AD #AD31A2 #AD7A31
square
#31AD3C #3164AD #AD31A2 #AD7A31
split-complementary
#31AD3C #7A31AD #AD3164
monochromatic
#164E1B #237D2B #31AD3C #4ECD59 #7EDA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AD3C#FFFFFF#000000##000000
##31AD3C1.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)
#B09D2E
Deuteranopia (green-blind)
#A29346
Tritanopia (blue-blind)
#00A896
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad3c;
/* rgb */ color: rgb(49, 173, 60);
/* oklch */ color: oklch(65.7% 0.187 144.3);
Tailwind
colors: {
  custom: {
    50: '#7bc777',
    500: '#31ad3c',
    950: '#000000',
  },
}
SCSS
$custom: #31ad3c;
$custom-light: #7bc777;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad3c",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 60
  },
  "hsl": {
    "h": 125.323,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.18678,
    "h": 144.3
  },
  "luminance": 0.30866
}

Semantic roles & 50–950 ramp

primary
#31AD3C
secondary
#C377BC
accent
#49D2DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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