#31AF63#31AF63

#31AF63 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.8% C 0.156 H 152.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#31AF63
RGBrgb(49, 175, 99)
HSLhsl(144, 56%, 44%)
HSVhsv(144, 72%, 69%)
CMYKcmyk(72%, 0%, 43.4%, 31.4%)
CIE-LABlab(63.52, -51.18, 29.35)
CIE-LCHlch(63.52, 59.00, 150.17°)
OKLaboklab(66.81% -0.1379 0.0725)
OKLCHoklch(66.81% 0.156 152.3)
XYZxyz(18.8471, 32.2116, 17.0261)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF63 #AF317D
analogous
#3EAF31 #31AF63 #31AFA2
triadic
#31AF63 #6331AF #AF6331
tetradic
#31AF63 #313EAF #AF317D #AFA231
square
#31AF63 #313EAF #AF317D #AFA231
split-complementary
#31AF63 #A231AF #AF313E
monochromatic
#164F2D #247F48 #31AF63 #4FCE82 #7FDBA4

Accessibility & contrast

On white

2.82
#31AF63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#31AF63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF63
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF63#FFFFFF#000000##000000
##31AF631.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#A09668
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af63;
/* rgb */ color: rgb(49, 175, 99);
/* oklch */ color: oklch(66.8% 0.156 152.3);
Tailwind
colors: {
  custom: {
    50: '#7bc890',
    500: '#31af63',
    950: '#000000',
  },
}
SCSS
$custom: #31af63;
$custom-light: #7bc890;
$custom-dark: #000000;
JSON
{
  "hex": "#31af63",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 99
  },
  "hsl": {
    "h": 143.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66811,
    "c": 0.15576,
    "h": 152.3
  },
  "luminance": 0.32214
}

Semantic roles & 50–950 ramp

primary
#31AF63
secondary
#C478A6
accent
#48A4E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF63

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

Preview Lab → · Contrast checker → · Palette generator →

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