#31AF64#31AF64

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

Color values

HEX#31AF64
RGBrgb(49, 175, 100)
HSLhsl(144, 56%, 44%)
HSVhsv(144, 72%, 69%)
CMYKcmyk(72%, 0%, 42.9%, 31.4%)
CIE-LABlab(63.53, -51.00, 28.84)
CIE-LCHlch(63.53, 58.59, 150.51°)
OKLaboklab(66.83% -0.1374 0.0714)
OKLCHoklch(66.83% 0.155 152.6)
XYZxyz(18.8952, 32.2309, 17.2795)
Luminance0.3223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF64 #AF317C
analogous
#3DAF31 #31AF64 #31AFA3
triadic
#31AF64 #6431AF #AF6431
tetradic
#31AF64 #313DAF #AF317C #AFA331
square
#31AF64 #313DAF #AF317C #AFA331
split-complementary
#31AF64 #A331AF #AF313D
monochromatic
#164F2D #247F49 #31AF64 #4FCE83 #7FDBA4

Accessibility & contrast

On white

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

On black

7.45
#31AF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF64
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF64#FFFFFF#000000##000000
##31AF641.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05F
Deuteranopia (green-blind)
#A09669
Tritanopia (blue-blind)
#00AD9D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af64;
/* rgb */ color: rgb(49, 175, 100);
/* oklch */ color: oklch(66.8% 0.155 152.6);
Tailwind
colors: {
  custom: {
    50: '#7bc891',
    500: '#31af64',
    950: '#000000',
  },
}
SCSS
$custom: #31af64;
$custom-light: #7bc891;
$custom-dark: #000000;
JSON
{
  "hex": "#31af64",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 100
  },
  "hsl": {
    "h": 144.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.15482,
    "h": 152.6
  },
  "luminance": 0.32233
}

Semantic roles & 50–950 ramp

primary
#31AF64
secondary
#C478A5
accent
#48A2E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130D
muted
#7C827D

Preview Lab

Preview with #31AF64

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

Preview Lab → · Contrast checker → · Palette generator →

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