#31A962#31A962

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

Color values

HEX#31A962
RGBrgb(49, 169, 98)
HSLhsl(145, 55%, 43%)
HSVhsv(145, 71%, 66%)
CMYKcmyk(71%, 0%, 42%, 33.7%)
CIE-LABlab(61.58, -49.08, 27.35)
CIE-LCHlch(61.58, 56.18, 150.87°)
OKLaboklab(65.2% -0.1323 0.0678)
OKLCHoklch(65.2% 0.149 152.9)
XYZxyz(17.6577, 29.9088, 16.3953)
Luminance0.2991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A962 #A93178
analogous
#3CA931 #31A962 #31A99E
triadic
#31A962 #6231A9 #A96231
tetradic
#31A962 #313CA9 #A93178 #A99E31
square
#31A962 #313CA9 #A93178 #A99E31
split-complementary
#31A962 #9E31A9 #A9313C
monochromatic
#154A2B #237A46 #31A962 #4CCB80 #7CD9A2

Accessibility & contrast

On white

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

On black

6.98
#31A962 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A962
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A962#FFFFFF#000000##000000
##31A9621.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a962;
/* rgb */ color: rgb(49, 169, 98);
/* oklch */ color: oklch(65.2% 0.149 152.9);
Tailwind
colors: {
  custom: {
    50: '#79c38f',
    500: '#31a962',
    950: '#000000',
  },
}
SCSS
$custom: #31a962;
$custom-light: #79c38f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a962",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 144.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65204,
    "c": 0.14867,
    "h": 152.9
  },
  "luminance": 0.29911
}

Semantic roles & 50–950 ramp

primary
#31A962
secondary
#C174A2
accent
#49A2DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A962

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

Preview Lab → · Contrast checker → · Palette generator →

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