#31A022#31A022

#31A022 is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.188 H 141.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#31A022
RGBrgb(49, 160, 34)
HSLhsl(113, 65%, 38%)
HSVhsv(113, 79%, 63%)
CMYKcmyk(69.4%, 0%, 78.8%, 37.3%)
CIE-LABlab(57.95, -53.91, 52.38)
CIE-LCHlch(57.95, 75.16, 135.82°)
OKLaboklab(61.98% -0.1471 0.1171)
OKLCHoklch(61.98% 0.188 141.5)
XYZxyz(14.1254, 25.9086, 5.7695)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A022 #9122A0
analogous
#70A022 #31A022 #22A052
triadic
#31A022 #2231A0 #A02231
tetradic
#31A022 #2270A0 #9122A0 #A05222
square
#31A022 #2270A0 #9122A0 #A05222
split-complementary
#31A022 #5222A0 #A02270
monochromatic
#123B0D #226E17 #31A022 #41D22D #6EDD5F

Accessibility & contrast

On white

3.40
#31A022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#31A022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A022
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A022#FFFFFF#000000##000000
##31A0221.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#179B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a022;
/* rgb */ color: rgb(49, 160, 34);
/* oklch */ color: oklch(62.0% 0.188 141.5);
Tailwind
colors: {
  custom: {
    50: '#7abd67',
    500: '#31a022',
    950: '#000000',
  },
}
SCSS
$custom: #31a022;
$custom-light: #7abd67;
$custom-dark: #000000;
JSON
{
  "hex": "#31a022",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 112.857,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.18802,
    "h": 141.5
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#31A022
secondary
#B65CC2
accent
#40E8D4
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A022

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

Preview Lab → · Contrast checker → · Palette generator →

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