#31A162#31A162

#31A162 is a light, vivid green. Relative luminance 0.270; OKLCH L 63.1% C 0.138 H 154.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#31A162
RGBrgb(49, 161, 98)
HSLhsl(146, 53%, 41%)
HSVhsv(146, 70%, 63%)
CMYKcmyk(69.6%, 0%, 39.1%, 36.9%)
CIE-LABlab(59.00, -45.95, 23.95)
CIE-LCHlch(59.00, 51.82, 152.47°)
OKLaboklab(63.08% -0.1241 0.0598)
OKLCHoklch(63.08% 0.138 154.3)
XYZxyz(16.2147, 27.0228, 15.9143)
Luminance0.2702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A162 #A13170
analogous
#38A131 #31A162 #31A19A
triadic
#31A162 #6231A1 #A16231
tetradic
#31A162 #3138A1 #A13170 #A19A31
square
#31A162 #3138A1 #A13170 #A19A31
split-complementary
#31A162 #9A31A1 #A13138
monochromatic
#144329 #237245 #31A162 #48C780 #77D6A0

Accessibility & contrast

On white

3.28
#31A162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#31A162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A162
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A162#FFFFFF#000000##000000
##31A1621.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945E
Deuteranopia (green-blind)
#938A66
Tritanopia (blue-blind)
#009F91
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a162;
/* rgb */ color: rgb(49, 161, 98);
/* oklch */ color: oklch(63.1% 0.138 154.3);
Tailwind
colors: {
  custom: {
    50: '#78be8f',
    500: '#31a162',
    950: '#000000',
  },
}
SCSS
$custom: #31a162;
$custom-light: #78be8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a162",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 146.25,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63078,
    "c": 0.13778,
    "h": 154.3
  },
  "luminance": 0.27025
}

Semantic roles & 50–950 ramp

primary
#31A162
secondary
#BE709C
accent
#4B9DDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A162

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

Preview Lab → · Contrast checker → · Palette generator →

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