#31AF4C#31AF4C

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

Color values

HEX#31AF4C
RGBrgb(49, 175, 76)
HSLhsl(133, 56%, 44%)
HSVhsv(133, 72%, 69%)
CMYKcmyk(72%, 0%, 56.6%, 31.4%)
CIE-LABlab(63.20, -54.80, 40.57)
CIE-LCHlch(63.20, 68.18, 143.49°)
OKLaboklab(66.45% -0.1477 0.0967)
OKLCHoklch(66.45% 0.177 146.8)
XYZxyz(17.8998, 31.8327, 12.0371)
Luminance0.3184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF4C #AF3194
analogous
#55AF31 #31AF4C #31AF8B
triadic
#31AF4C #4C31AF #AF4C31
tetradic
#31AF4C #3155AF #AF3194 #AF8B31
square
#31AF4C #3155AF #AF3194 #AF8B31
split-complementary
#31AF4C #8B31AF #AF3155
monochromatic
#164F22 #247F37 #31AF4C #4FCE6A #7FDB93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF4C#FFFFFF#000000##000000
##31AF4C1.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)
#B19F42
Deuteranopia (green-blind)
#A29554
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af4c;
/* rgb */ color: rgb(49, 175, 76);
/* oklch */ color: oklch(66.5% 0.176 146.8);
Tailwind
colors: {
  custom: {
    50: '#7bc881',
    500: '#31af4c',
    950: '#000000',
  },
}
SCSS
$custom: #31af4c;
$custom-light: #7bc881;
$custom-dark: #000000;
JSON
{
  "hex": "#31af4c",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 132.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66451,
    "c": 0.1765,
    "h": 146.8
  },
  "luminance": 0.31835
}

Semantic roles & 50–950 ramp

primary
#31AF4C
secondary
#C478B4
accent
#48BFE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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