#31A862#31A862

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

Color values

HEX#31A862
RGBrgb(49, 168, 98)
HSLhsl(145, 55%, 43%)
HSVhsv(145, 71%, 66%)
CMYKcmyk(70.8%, 0%, 41.7%, 34.1%)
CIE-LABlab(61.25, -48.69, 26.93)
CIE-LCHlch(61.25, 55.64, 151.06°)
OKLaboklab(64.94% -0.1313 0.0668)
OKLCHoklch(64.94% 0.147 153)
XYZxyz(17.4723, 29.5381, 16.3335)
Luminance0.2954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A862 #A83177
analogous
#3BA831 #31A862 #31A89E
triadic
#31A862 #6231A8 #A86231
tetradic
#31A862 #313BA8 #A83177 #A89E31
square
#31A862 #313BA8 #A83177 #A89E31
split-complementary
#31A862 #9E31A8 #A8313B
monochromatic
#15492B #237946 #31A862 #4CCB80 #7BD8A1

Accessibility & contrast

On white

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

On black

6.91
#31A862 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A862
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A862#FFFFFF#000000##000000
##31A8621.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A5D
Deuteranopia (green-blind)
#999067
Tritanopia (blue-blind)
#00A697
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a862;
/* rgb */ color: rgb(49, 168, 98);
/* oklch */ color: oklch(64.9% 0.147 153.0);
Tailwind
colors: {
  custom: {
    50: '#79c38f',
    500: '#31a862',
    950: '#000000',
  },
}
SCSS
$custom: #31a862;
$custom-light: #79c38f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a862",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 144.706,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64939,
    "c": 0.14732,
    "h": 153
  },
  "luminance": 0.2954
}

Semantic roles & 50–950 ramp

primary
#31A862
secondary
#C174A1
accent
#4AA1DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A862

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

Preview Lab → · Contrast checker → · Palette generator →

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