#31A062#31A062

#31A062 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.136 H 154.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#31A062
RGBrgb(49, 160, 98)
HSLhsl(146, 53%, 41%)
HSVhsv(146, 69%, 63%)
CMYKcmyk(69.4%, 0%, 38.8%, 37.3%)
CIE-LABlab(58.67, -45.55, 23.52)
CIE-LCHlch(58.67, 51.27, 152.69°)
OKLaboklab(62.81% -0.1231 0.0588)
OKLCHoklch(62.81% 0.136 154.5)
XYZxyz(16.0406, 26.6747, 15.8563)
Luminance0.2668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A062 #A0316F
analogous
#38A031 #31A062 #31A099
triadic
#31A062 #6231A0 #A06231
tetradic
#31A062 #3138A0 #A0316F #A09931
square
#31A062 #3138A0 #A0316F #A09931
split-complementary
#31A062 #9931A0 #A03138
monochromatic
#144229 #237145 #31A062 #47C780 #76D5A0

Accessibility & contrast

On white

3.31
#31A062 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#31A062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A062
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A062#FFFFFF#000000##000000
##31A0621.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0935E
Deuteranopia (green-blind)
#928966
Tritanopia (blue-blind)
#009E90
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a062;
/* rgb */ color: rgb(49, 160, 98);
/* oklch */ color: oklch(62.8% 0.136 154.5);
Tailwind
colors: {
  custom: {
    50: '#77bd8f',
    500: '#31a062',
    950: '#000000',
  },
}
SCSS
$custom: #31a062;
$custom-light: #77bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a062",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 98
  },
  "hsl": {
    "h": 146.486,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62812,
    "c": 0.13641,
    "h": 154.5
  },
  "luminance": 0.26676
}

Semantic roles & 50–950 ramp

primary
#31A062
secondary
#BD709B
accent
#4B9CDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A062

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

Preview Lab → · Contrast checker → · Palette generator →

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