#31AF4D#31AF4D

#31AF4D is a light, vivid green. Relative luminance 0.318; OKLCH L 66.5% C 0.176 H 147.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31AF4D
RGBrgb(49, 175, 77)
HSLhsl(133, 56%, 44%)
HSVhsv(133, 72%, 69%)
CMYKcmyk(72%, 0%, 56%, 31.4%)
CIE-LABlab(63.22, -54.66, 40.10)
CIE-LCHlch(63.22, 67.80, 143.73°)
OKLaboklab(66.46% -0.1473 0.0957)
OKLCHoklch(66.46% 0.176 147)
XYZxyz(17.9348, 31.8467, 12.2216)
Luminance0.3185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF4D #AF3193
analogous
#54AF31 #31AF4D #31AF8C
triadic
#31AF4D #4D31AF #AF4D31
tetradic
#31AF4D #3154AF #AF3193 #AF8C31
square
#31AF4D #3154AF #AF3193 #AF8C31
split-complementary
#31AF4D #8C31AF #AF3154
monochromatic
#164F23 #247F38 #31AF4D #4FCE6B #7FDB94

Accessibility & contrast

On white

2.85
#31AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#31AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF4D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF4D#FFFFFF#000000##000000
##31AF4D1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F44
Deuteranopia (green-blind)
#A29555
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af4d;
/* rgb */ color: rgb(49, 175, 77);
/* oklch */ color: oklch(66.5% 0.176 147.0);
Tailwind
colors: {
  custom: {
    50: '#7bc881',
    500: '#31af4d',
    950: '#000000',
  },
}
SCSS
$custom: #31af4d;
$custom-light: #7bc881;
$custom-dark: #000000;
JSON
{
  "hex": "#31af4d",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 133.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.17564,
    "h": 147
  },
  "luminance": 0.31849
}

Semantic roles & 50–950 ramp

primary
#31AF4D
secondary
#C478B3
accent
#48BEE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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