#31AF39#31AF39

#31AF39 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.191 H 143.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#31AF39
RGBrgb(49, 175, 57)
HSLhsl(124, 56%, 44%)
HSVhsv(124, 72%, 69%)
CMYKcmyk(72%, 0%, 67.4%, 31.4%)
CIE-LABlab(63.02, -57.04, 48.93)
CIE-LCHlch(63.02, 75.15, 139.38°)
OKLaboklab(66.23% -0.1545 0.1128)
OKLCHoklch(66.23% 0.191 143.9)
XYZxyz(17.3340, 31.6064, 9.0572)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF39 #AF31A7
analogous
#68AF31 #31AF39 #31AF78
triadic
#31AF39 #3931AF #AF3931
tetradic
#31AF39 #3168AF #AF31A7 #AF7831
square
#31AF39 #3168AF #AF31A7 #AF7831
split-complementary
#31AF39 #7831AF #AF3168
monochromatic
#164F1A #247F29 #31AF39 #4FCE57 #7FDB85

Accessibility & contrast

On white

2.87
#31AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#31AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF39
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF39#FFFFFF#000000##000000
##31AF391.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F29
Deuteranopia (green-blind)
#A49544
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af39;
/* rgb */ color: rgb(49, 175, 57);
/* oklch */ color: oklch(66.2% 0.191 143.9);
Tailwind
colors: {
  custom: {
    50: '#7cc875',
    500: '#31af39',
    950: '#000000',
  },
}
SCSS
$custom: #31af39;
$custom-light: #7cc875;
$custom-dark: #000000;
JSON
{
  "hex": "#31af39",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 123.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66234,
    "c": 0.1913,
    "h": 143.9
  },
  "luminance": 0.31608
}

Semantic roles & 50–950 ramp

primary
#31AF39
secondary
#C478BF
accent
#48D6E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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