#31AF3F#31AF3F

#31AF3F is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.187 H 144.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#31AF3F
RGBrgb(49, 175, 63)
HSLhsl(127, 56%, 44%)
HSVhsv(127, 72%, 69%)
CMYKcmyk(72%, 0%, 64%, 31.4%)
CIE-LABlab(63.07, -56.41, 46.41)
CIE-LCHlch(63.07, 73.05, 140.55°)
OKLaboklab(66.3% -0.1525 0.1081)
OKLCHoklch(66.3% 0.187 144.7)
XYZxyz(17.4926, 31.6698, 9.8927)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF3F #AF31A1
analogous
#62AF31 #31AF3F #31AF7E
triadic
#31AF3F #3F31AF #AF3F31
tetradic
#31AF3F #3162AF #AF31A1 #AF7E31
square
#31AF3F #3162AF #AF31A1 #AF7E31
split-complementary
#31AF3F #7E31AF #AF3162
monochromatic
#164F1D #247F2E #31AF3F #4FCE5D #7FDB89

Accessibility & contrast

On white

2.86
#31AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#31AF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF3F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF3F#FFFFFF#000000##000000
##31AF3F1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F32
Deuteranopia (green-blind)
#A49549
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af3f;
/* rgb */ color: rgb(49, 175, 63);
/* oklch */ color: oklch(66.3% 0.187 144.7);
Tailwind
colors: {
  custom: {
    50: '#7cc879',
    500: '#31af3f',
    950: '#000000',
  },
}
SCSS
$custom: #31af3f;
$custom-light: #7cc879;
$custom-dark: #000000;
JSON
{
  "hex": "#31af3f",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 126.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66295,
    "c": 0.18694,
    "h": 144.7
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

primary
#31AF3F
secondary
#C478BC
accent
#48CFE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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