#31AC2E#31AC2E

#31AC2E is a light, vivid green. Relative luminance 0.304; OKLCH L 65.3% C 0.195 H 142.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31AC2E
RGBrgb(49, 172, 46)
HSLhsl(119, 58%, 43%)
HSVhsv(119, 73%, 67%)
CMYKcmyk(71.5%, 0%, 73.3%, 32.5%)
CIE-LABlab(61.96, -57.04, 52.16)
CIE-LCHlch(61.96, 77.29, 137.56°)
OKLaboklab(65.33% -0.155 0.1183)
OKLCHoklch(65.33% 0.195 142.7)
XYZxyz(16.5113, 30.3535, 7.5729)
Luminance0.3035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC2E #A92EAC
analogous
#70AC2E #31AC2E #2EAC6A
triadic
#31AC2E #2E31AC #AC2E31
tetradic
#31AC2E #2E70AC #A92EAC #AC6A2E
square
#31AC2E #2E70AC #A92EAC #AC6A2E
split-complementary
#31AC2E #6A2EAC #AC2E70
monochromatic
#154B14 #237C21 #31AC2E #4CCE49 #7CDB79

Accessibility & contrast

On white

2.97
#31AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#31AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC2E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC2E#FFFFFF#000000##000000
##31AC2E1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C17
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#07A793
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac2e;
/* rgb */ color: rgb(49, 172, 46);
/* oklch */ color: oklch(65.3% 0.195 142.7);
Tailwind
colors: {
  custom: {
    50: '#7cc66f',
    500: '#31ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #31ac2e;
$custom-light: #7cc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac2e",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 118.571,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6533,
    "c": 0.19496,
    "h": 142.7
  },
  "luminance": 0.30355
}

Semantic roles & 50–950 ramp

primary
#31AC2E
secondary
#C172C3
accent
#47E1DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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