#31A02E#31A02E

#31A02E is a light, vivid green. Relative luminance 0.260; OKLCH L 62.1% C 0.181 H 142.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#31A02E
RGBrgb(49, 160, 46)
HSLhsl(118, 55%, 40%)
HSVhsv(118, 71%, 63%)
CMYKcmyk(69.4%, 0%, 71.2%, 37.3%)
CIE-LABlab(58.03, -52.97, 48.11)
CIE-LCHlch(58.03, 71.56, 137.75°)
OKLaboklab(62.07% -0.144 0.1098)
OKLCHoklch(62.07% 0.181 142.7)
XYZxyz(14.3297, 25.9903, 6.8457)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A02E #9D2EA0
analogous
#6AA02E #31A02E #2EA064
triadic
#31A02E #2E31A0 #A02E31
tetradic
#31A02E #2E6AA0 #9D2EA0 #A0642E
square
#31A02E #2E6AA0 #9D2EA0 #A0642E
split-complementary
#31A02E #642EA0 #A02E6A
monochromatic
#144113 #227020 #31A02E #46C942 #75D672

Accessibility & contrast

On white

3.39
#31A02E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#31A02E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A02E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A02E#FFFFFF#000000##000000
##31A02E1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911C
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#139B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a02e;
/* rgb */ color: rgb(49, 160, 46);
/* oklch */ color: oklch(62.1% 0.181 142.7);
Tailwind
colors: {
  custom: {
    50: '#79bd6d',
    500: '#31a02e',
    950: '#000000',
  },
}
SCSS
$custom: #31a02e;
$custom-light: #79bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a02e",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 118.421,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.18106,
    "h": 142.7
  },
  "luminance": 0.25992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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