#31A960#31A960

#31A960 is a light, vivid green. Relative luminance 0.299; OKLCH L 65.2% C 0.151 H 152.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#31A960
RGBrgb(49, 169, 96)
HSLhsl(144, 55%, 43%)
HSVhsv(144, 71%, 66%)
CMYKcmyk(71%, 0%, 43.2%, 33.7%)
CIE-LABlab(61.54, -49.44, 28.37)
CIE-LCHlch(61.54, 57.00, 150.16°)
OKLaboklab(65.17% -0.1332 0.0701)
OKLCHoklch(65.17% 0.151 152.2)
XYZxyz(17.5644, 29.8715, 15.9042)
Luminance0.2987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A960 #A9317A
analogous
#3EA931 #31A960 #31A99C
triadic
#31A960 #6031A9 #A96031
tetradic
#31A960 #313EA9 #A9317A #A99C31
square
#31A960 #313EA9 #A9317A #A99C31
split-complementary
#31A960 #9C31A9 #A9313E
monochromatic
#154A2A #237A45 #31A960 #4CCB7E #7CD9A0

Accessibility & contrast

On white

3.01
#31A960 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#31A960 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A960
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A960#FFFFFF#000000##000000
##31A9601.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99B5B
Deuteranopia (green-blind)
#9B9065
Tritanopia (blue-blind)
#00A797
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a960;
/* rgb */ color: rgb(49, 169, 96);
/* oklch */ color: oklch(65.2% 0.151 152.2);
Tailwind
colors: {
  custom: {
    50: '#79c38e',
    500: '#31a960',
    950: '#000000',
  },
}
SCSS
$custom: #31a960;
$custom-light: #79c38e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a960",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 96
  },
  "hsl": {
    "h": 143.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.15055,
    "h": 152.2
  },
  "luminance": 0.29873
}

Semantic roles & 50–950 ramp

primary
#31A960
secondary
#C174A3
accent
#49A4DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A960

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

Preview Lab → · Contrast checker → · Palette generator →

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