#31A62C#31A62C

#31A62C is a light, vivid green. Relative luminance 0.281; OKLCH L 63.7% C 0.189 H 142.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#31A62C
RGBrgb(49, 166, 44)
HSLhsl(118, 58%, 41%)
HSVhsv(118, 73%, 65%)
CMYKcmyk(70.5%, 0%, 73.5%, 34.9%)
CIE-LABlab(59.98, -55.19, 50.89)
CIE-LCHlch(59.98, 75.08, 137.32°)
OKLaboklab(63.69% -0.1501 0.1154)
OKLCHoklch(63.69% 0.189 142.5)
XYZxyz(15.3566, 28.1056, 6.9980)
Luminance0.2811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A62C #A12CA6
analogous
#6EA62C #31A62C #2CA664
triadic
#31A62C #2C31A6 #A62C31
tetradic
#31A62C #2C6EA6 #A12CA6 #A6642C
square
#31A62C #2C6EA6 #A12CA6 #A6642C
split-complementary
#31A62C #642CA6 #A62C6E
monochromatic
#144512 #23761F #31A62C #48CD42 #77DA73

Accessibility & contrast

On white

3.17
#31A62C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#31A62C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A62C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A62C#FFFFFF#000000##000000
##31A62C1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9616
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#0FA18E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a62c;
/* rgb */ color: rgb(49, 166, 44);
/* oklch */ color: oklch(63.7% 0.189 142.5);
Tailwind
colors: {
  custom: {
    50: '#7bc16d',
    500: '#31a62c',
    950: '#000000',
  },
}
SCSS
$custom: #31a62c;
$custom-light: #7bc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a62c",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 117.541,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.1893,
    "h": 142.5
  },
  "luminance": 0.28107
}

Semantic roles & 50–950 ramp

primary
#31A62C
secondary
#BE6DC1
accent
#46E1DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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