#31A860#31A860

#31A860 is a light, vivid green. Relative luminance 0.295; OKLCH L 64.9% C 0.149 H 152.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#31A860
RGBrgb(49, 168, 96)
HSLhsl(144, 55%, 43%)
HSVhsv(144, 71%, 66%)
CMYKcmyk(70.8%, 0%, 42.9%, 34.1%)
CIE-LABlab(61.22, -49.06, 27.95)
CIE-LCHlch(61.22, 56.46, 150.33°)
OKLaboklab(64.9% -0.1322 0.0691)
OKLCHoklch(64.9% 0.149 152.4)
XYZxyz(17.3791, 29.5008, 15.8424)
Luminance0.2950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A860 #A83179
analogous
#3EA831 #31A860 #31A89B
triadic
#31A860 #6031A8 #A86031
tetradic
#31A860 #313EA8 #A83179 #A89B31
square
#31A860 #313EA8 #A83179 #A89B31
split-complementary
#31A860 #9B31A8 #A8313E
monochromatic
#15492A #237945 #31A860 #4CCB7E #7BD8A0

Accessibility & contrast

On white

3.04
#31A860 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#31A860 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A860
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A860#FFFFFF#000000##000000
##31A8601.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A5B
Deuteranopia (green-blind)
#9A9065
Tritanopia (blue-blind)
#00A696
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a860;
/* rgb */ color: rgb(49, 168, 96);
/* oklch */ color: oklch(64.9% 0.149 152.4);
Tailwind
colors: {
  custom: {
    50: '#79c38e',
    500: '#31a860',
    950: '#000000',
  },
}
SCSS
$custom: #31a860;
$custom-light: #79c38e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a860",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 96
  },
  "hsl": {
    "h": 143.697,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64901,
    "c": 0.14921,
    "h": 152.4
  },
  "luminance": 0.29503
}

Semantic roles & 50–950 ramp

primary
#31A860
secondary
#C174A3
accent
#4AA4DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A860

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

Preview Lab → · Contrast checker → · Palette generator →

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