#31AE2A#31AE2A

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

Color values

HEX#31AE2A
RGBrgb(49, 174, 42)
HSLhsl(117, 61%, 42%)
HSVhsv(117, 76%, 68%)
CMYKcmyk(71.8%, 0%, 75.9%, 31.8%)
CIE-LABlab(62.58, -58.01, 54.22)
CIE-LCHlch(62.58, 79.41, 136.93°)
OKLaboklab(65.84% -0.1578 0.122)
OKLCHoklch(65.84% 0.2 142.3)
XYZxyz(16.8196, 31.0904, 7.3047)
Luminance0.3109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE2A #A72AAE
analogous
#73AE2A #31AE2A #2AAE65
triadic
#31AE2A #2A31AE #AE2A31
tetradic
#31AE2A #2A73AE #A72AAE #AE652A
square
#31AE2A #2A73AE #A72AAE #AE652A
split-complementary
#31AE2A #652AAE #AE2A73
monochromatic
#154B12 #237D1E #31AE2A #4BD243 #7ADE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AE2A#FFFFFF#000000##000000
##31AE2A1.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)
#B29D0D
Deuteranopia (green-blind)
#A49439
Tritanopia (blue-blind)
#06A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae2a;
/* rgb */ color: rgb(49, 174, 42);
/* oklch */ color: oklch(65.8% 0.200 142.3);
Tailwind
colors: {
  custom: {
    50: '#7dc76d',
    500: '#31ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #31ae2a;
$custom-light: #7dc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae2a",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 116.818,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65841,
    "c": 0.1995,
    "h": 142.3
  },
  "luminance": 0.31092
}

Semantic roles & 50–950 ramp

primary
#31AE2A
secondary
#C16FC5
accent
#44E4DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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