#31AF50#31AF50

#31AF50 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.173 H 147.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#31AF50
RGBrgb(49, 175, 80)
HSLhsl(135, 56%, 44%)
HSVhsv(135, 72%, 69%)
CMYKcmyk(72%, 0%, 54.3%, 31.4%)
CIE-LABlab(63.25, -54.24, 38.69)
CIE-LCHlch(63.25, 66.62, 144.50°)
OKLaboklab(66.51% -0.1461 0.0928)
OKLCHoklch(66.51% 0.173 147.6)
XYZxyz(18.0432, 31.8901, 12.7924)
Luminance0.3189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF50 #AF3190
analogous
#51AF31 #31AF50 #31AF8F
triadic
#31AF50 #5031AF #AF5031
tetradic
#31AF50 #3151AF #AF3190 #AF8F31
square
#31AF50 #3151AF #AF3190 #AF8F31
split-complementary
#31AF50 #8F31AF #AF3151
monochromatic
#164F24 #247F3A #31AF50 #4FCE6E #7FDB96

Accessibility & contrast

On white

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

On black

7.38
#31AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF50
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF50#FFFFFF#000000##000000
##31AF501.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F47
Deuteranopia (green-blind)
#A29557
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af50;
/* rgb */ color: rgb(49, 175, 80);
/* oklch */ color: oklch(66.5% 0.173 147.6);
Tailwind
colors: {
  custom: {
    50: '#7bc883',
    500: '#31af50',
    950: '#000000',
  },
}
SCSS
$custom: #31af50;
$custom-light: #7bc883;
$custom-dark: #000000;
JSON
{
  "hex": "#31af50",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 134.762,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.17305,
    "h": 147.6
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#31AF50
secondary
#C478B1
accent
#48BAE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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