#31AC3F#31AC3F

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

Color values

HEX#31AC3F
RGBrgb(49, 172, 63)
HSLhsl(127, 56%, 43%)
HSVhsv(127, 72%, 67%)
CMYKcmyk(71.5%, 0%, 63.4%, 32.5%)
CIE-LABlab(62.10, -55.38, 45.32)
CIE-LCHlch(62.10, 71.56, 140.70°)
OKLaboklab(65.49% -0.1497 0.1058)
OKLCHoklch(65.49% 0.183 144.7)
XYZxyz(16.9152, 30.5150, 9.7002)
Luminance0.3052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC3F #AC319E
analogous
#60AC31 #31AC3F #31AC7C
triadic
#31AC3F #3F31AC #AC3F31
tetradic
#31AC3F #3160AC #AC319E #AC7C31
square
#31AC3F #3160AC #AC319E #AC7C31
split-complementary
#31AC3F #7C31AC #AC3160
monochromatic
#164D1C #237C2E #31AC3F #4ECC5C #7DDA88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC3F#FFFFFF#000000##000000
##31AC3F1.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)
#AF9C32
Deuteranopia (green-blind)
#A19248
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac3f;
/* rgb */ color: rgb(49, 172, 63);
/* oklch */ color: oklch(65.5% 0.183 144.7);
Tailwind
colors: {
  custom: {
    50: '#7bc678',
    500: '#31ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #31ac3f;
$custom-light: #7bc678;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac3f",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 126.829,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65489,
    "c": 0.18332,
    "h": 144.7
  },
  "luminance": 0.30517
}

Semantic roles & 50–950 ramp

primary
#31AC3F
secondary
#C376BA
accent
#49CEDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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