#31AE3F#31AE3F

#31AE3F is a light, vivid green. Relative luminance 0.313; OKLCH L 66.0% C 0.186 H 144.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#31AE3F
RGBrgb(49, 174, 63)
HSLhsl(127, 56%, 44%)
HSVhsv(127, 72%, 68%)
CMYKcmyk(71.8%, 0%, 63.8%, 31.8%)
CIE-LABlab(62.74, -56.06, 46.05)
CIE-LCHlch(62.74, 72.55, 140.60°)
OKLaboklab(66.03% -0.1516 0.1074)
OKLCHoklch(66.03% 0.186 144.7)
XYZxyz(17.2987, 31.2820, 9.8280)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE3F #AE31A0
analogous
#61AE31 #31AE3F #31AE7D
triadic
#31AE3F #3F31AE #AE3F31
tetradic
#31AE3F #3161AE #AE31A0 #AE7D31
square
#31AE3F #3161AE #AE31A0 #AE7D31
split-complementary
#31AE3F #7D31AE #AE3161
monochromatic
#164E1C #247E2E #31AE3F #4FCD5D #7FDB89

Accessibility & contrast

On white

2.89
#31AE3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#31AE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE3F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE3F#FFFFFF#000000##000000
##31AE3F1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E32
Deuteranopia (green-blind)
#A39449
Tritanopia (blue-blind)
#00A997
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae3f;
/* rgb */ color: rgb(49, 174, 63);
/* oklch */ color: oklch(66.0% 0.186 144.7);
Tailwind
colors: {
  custom: {
    50: '#7cc778',
    500: '#31ae3f',
    950: '#000000',
  },
}
SCSS
$custom: #31ae3f;
$custom-light: #7cc778;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae3f",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 126.72,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66026,
    "c": 0.18574,
    "h": 144.7
  },
  "luminance": 0.31284
}

Semantic roles & 50–950 ramp

primary
#31AE3F
secondary
#C477BB
accent
#48CEDF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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