#31AC3E#31AC3E

#31AC3E is a light, vivid green. Relative luminance 0.305; OKLCH L 65.5% C 0.184 H 144.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#31AC3E
RGBrgb(49, 172, 62)
HSLhsl(126, 56%, 43%)
HSVhsv(126, 72%, 67%)
CMYKcmyk(71.5%, 0%, 64%, 32.5%)
CIE-LABlab(62.09, -55.49, 45.76)
CIE-LCHlch(62.09, 71.92, 140.49°)
OKLaboklab(65.48% -0.15 0.1066)
OKLCHoklch(65.48% 0.184 144.6)
XYZxyz(16.8875, 30.5039, 9.5543)
Luminance0.3051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC3E #AC319F
analogous
#62AC31 #31AC3E #31AC7B
triadic
#31AC3E #3E31AC #AC3E31
tetradic
#31AC3E #3162AC #AC319F #AC7B31
square
#31AC3E #3162AC #AC319F #AC7B31
split-complementary
#31AC3E #7B31AC #AC3162
monochromatic
#164D1C #237C2D #31AC3E #4ECC5B #7DDA87

Accessibility & contrast

On white

2.96
#31AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#31AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC3E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC3E#FFFFFF#000000##000000
##31AC3E1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C31
Deuteranopia (green-blind)
#A19248
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac3e;
/* rgb */ color: rgb(49, 172, 62);
/* oklch */ color: oklch(65.5% 0.184 144.6);
Tailwind
colors: {
  custom: {
    50: '#7bc678',
    500: '#31ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #31ac3e;
$custom-light: #7bc678;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac3e",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 126.341,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65478,
    "c": 0.18408,
    "h": 144.6
  },
  "luminance": 0.30506
}

Semantic roles & 50–950 ramp

primary
#31AC3E
secondary
#C376BB
accent
#49CFDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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