#31AF37#31AF37

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

Color values

HEX#31AF37
RGBrgb(49, 175, 55)
HSLhsl(123, 56%, 44%)
HSVhsv(123, 72%, 69%)
CMYKcmyk(72%, 0%, 68.6%, 31.4%)
CIE-LABlab(63.00, -57.24, 49.74)
CIE-LCHlch(63.00, 75.83, 139.01°)
OKLaboklab(66.22% -0.1551 0.1143)
OKLCHoklch(66.22% 0.193 143.6)
XYZxyz(17.2851, 31.5868, 8.7996)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF37 #AF31A9
analogous
#6AAF31 #31AF37 #31AF76
triadic
#31AF37 #3731AF #AF3731
tetradic
#31AF37 #316AAF #AF31A9 #AF7631
square
#31AF37 #316AAF #AF31A9 #AF7631
split-complementary
#31AF37 #7631AF #AF316A
monochromatic
#164F19 #247F28 #31AF37 #4FCE55 #7FDB84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF37#FFFFFF#000000##000000
##31AF371.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)
#B39F26
Deuteranopia (green-blind)
#A49542
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af37;
/* rgb */ color: rgb(49, 175, 55);
/* oklch */ color: oklch(66.2% 0.193 143.6);
Tailwind
colors: {
  custom: {
    50: '#7cc874',
    500: '#31af37',
    950: '#000000',
  },
}
SCSS
$custom: #31af37;
$custom-light: #7cc874;
$custom-dark: #000000;
JSON
{
  "hex": "#31af37",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 122.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.19267,
    "h": 143.6
  },
  "luminance": 0.31589
}

Semantic roles & 50–950 ramp

primary
#31AF37
secondary
#C478C0
accent
#48D8E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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