#31AF47#31AF47

#31AF47 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.181 H 145.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#31AF47
RGBrgb(49, 175, 71)
HSLhsl(130, 56%, 44%)
HSVhsv(130, 72%, 69%)
CMYKcmyk(72%, 0%, 59.4%, 31.4%)
CIE-LABlab(63.15, -55.46, 42.87)
CIE-LCHlch(63.15, 70.10, 142.29°)
OKLaboklab(66.39% -0.1496 0.1013)
OKLCHoklch(66.39% 0.181 145.9)
XYZxyz(17.7327, 31.7659, 11.1569)
Luminance0.3177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF47 #AF3199
analogous
#5AAF31 #31AF47 #31AF86
triadic
#31AF47 #4731AF #AF4731
tetradic
#31AF47 #315AAF #AF3199 #AF8631
square
#31AF47 #315AAF #AF3199 #AF8631
split-complementary
#31AF47 #8631AF #AF315A
monochromatic
#164F20 #247F34 #31AF47 #4FCE65 #7FDB8F

Accessibility & contrast

On white

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

On black

7.35
#31AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF47
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF47#FFFFFF#000000##000000
##31AF471.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3C
Deuteranopia (green-blind)
#A3954F
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af47;
/* rgb */ color: rgb(49, 175, 71);
/* oklch */ color: oklch(66.4% 0.181 145.9);
Tailwind
colors: {
  custom: {
    50: '#7bc87d',
    500: '#31af47',
    950: '#000000',
  },
}
SCSS
$custom: #31af47;
$custom-light: #7bc87d;
$custom-dark: #000000;
JSON
{
  "hex": "#31af47",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 130.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66387,
    "c": 0.18066,
    "h": 145.9
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

primary
#31AF47
secondary
#C478B7
accent
#48C5E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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