#31AC2D#31AC2D

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

Color values

HEX#31AC2D
RGBrgb(49, 172, 45)
HSLhsl(118, 59%, 43%)
HSVhsv(118, 74%, 67%)
CMYKcmyk(71.5%, 0%, 73.8%, 32.5%)
CIE-LABlab(61.95, -57.12, 52.52)
CIE-LCHlch(61.95, 77.60, 137.40°)
OKLaboklab(65.32% -0.1553 0.1189)
OKLCHoklch(65.32% 0.196 142.6)
XYZxyz(16.4918, 30.3457, 7.4703)
Luminance0.3035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC2D #A82DAC
analogous
#71AC2D #31AC2D #2DAC68
triadic
#31AC2D #2D31AC #AC2D31
tetradic
#31AC2D #2D71AC #A82DAC #AC682D
square
#31AC2D #2D71AC #A82DAC #AC682D
split-complementary
#31AC2D #682DAC #AC2D71
monochromatic
#154B14 #237B20 #31AC2D #4CCF47 #7BDC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC2D#FFFFFF#000000##000000
##31AC2D1.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)
#B09C15
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#07A793
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac2d;
/* rgb */ color: rgb(49, 172, 45);
/* oklch */ color: oklch(65.3% 0.196 142.6);
Tailwind
colors: {
  custom: {
    50: '#7cc66e',
    500: '#31ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #31ac2d;
$custom-light: #7cc66e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac2d",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 118.11,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65322,
    "c": 0.19555,
    "h": 142.6
  },
  "luminance": 0.30347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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