#31AE2D#31AE2D

#31AE2D is a light, vivid green. Relative luminance 0.311; OKLCH L 65.9% C 0.198 H 142.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#31AE2D
RGBrgb(49, 174, 45)
HSLhsl(118, 59%, 43%)
HSVhsv(118, 74%, 68%)
CMYKcmyk(71.8%, 0%, 74.1%, 31.8%)
CIE-LABlab(62.60, -57.78, 53.18)
CIE-LCHlch(62.60, 78.53, 137.37°)
OKLaboklab(65.86% -0.1571 0.1203)
OKLCHoklch(65.86% 0.198 142.6)
XYZxyz(16.8753, 31.1127, 7.5981)
Luminance0.3111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE2D #AA2DAE
analogous
#71AE2D #31AE2D #2DAE6A
triadic
#31AE2D #2D31AE #AE2D31
tetradic
#31AE2D #2D71AE #AA2DAE #AE6A2D
square
#31AE2D #2D71AE #AA2DAE #AE6A2D
split-complementary
#31AE2D #6A2DAE #AE2D71
monochromatic
#164D14 #237D20 #31AE2D #4DD048 #7CDC79

Accessibility & contrast

On white

2.91
#31AE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#31AE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE2D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE2D#FFFFFF#000000##000000
##31AE2D1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D14
Deuteranopia (green-blind)
#A4943B
Tritanopia (blue-blind)
#05A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae2d;
/* rgb */ color: rgb(49, 174, 45);
/* oklch */ color: oklch(65.9% 0.198 142.6);
Tailwind
colors: {
  custom: {
    50: '#7cc76e',
    500: '#31ae2d',
    950: '#000000',
  },
}
SCSS
$custom: #31ae2d;
$custom-light: #7cc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae2d",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 118.14,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65863,
    "c": 0.19781,
    "h": 142.6
  },
  "luminance": 0.31115
}

Semantic roles & 50–950 ramp

primary
#31AE2D
secondary
#C272C4
accent
#46E2DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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