#31A12E#31A12E

#31A12E is a light, vivid green. Relative luminance 0.263; OKLCH L 62.3% C 0.182 H 142.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#31A12E
RGBrgb(49, 161, 46)
HSLhsl(118, 56%, 41%)
HSVhsv(118, 71%, 63%)
CMYKcmyk(69.6%, 0%, 71.4%, 36.9%)
CIE-LABlab(58.36, -53.32, 48.45)
CIE-LCHlch(58.36, 72.04, 137.74°)
OKLaboklab(62.34% -0.1449 0.1105)
OKLCHoklch(62.34% 0.182 142.7)
XYZxyz(14.5038, 26.3384, 6.9037)
Luminance0.2634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A12E #9E2EA1
analogous
#6AA12E #31A12E #2EA164
triadic
#31A12E #2E31A1 #A12E31
tetradic
#31A12E #2E6AA1 #9E2EA1 #A1642E
square
#31A12E #2E6AA1 #9E2EA1 #A1642E
split-complementary
#31A12E #642EA1 #A12E6A
monochromatic
#144213 #237120 #31A12E #46C943 #75D773

Accessibility & contrast

On white

3.35
#31A12E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#31A12E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A12E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A12E#FFFFFF#000000##000000
##31A12E1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#988939
Tritanopia (blue-blind)
#139C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a12e;
/* rgb */ color: rgb(49, 161, 46);
/* oklch */ color: oklch(62.3% 0.182 142.7);
Tailwind
colors: {
  custom: {
    50: '#79be6d',
    500: '#31a12e',
    950: '#000000',
  },
}
SCSS
$custom: #31a12e;
$custom-light: #79be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a12e",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 118.435,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.18223,
    "h": 142.7
  },
  "luminance": 0.2634
}

Semantic roles & 50–950 ramp

primary
#31A12E
secondary
#BC6CBE
accent
#49DFDB
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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