#31A01E#31A01E

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

Color values

HEX#31A01E
RGBrgb(49, 160, 30)
HSLhsl(111, 68%, 37%)
HSVhsv(111, 81%, 63%)
CMYKcmyk(69.4%, 0%, 81.3%, 37.3%)
CIE-LABlab(57.93, -54.16, 53.61)
CIE-LCHlch(57.93, 76.20, 135.29°)
OKLaboklab(61.96% -0.148 0.1191)
OKLCHoklch(61.96% 0.19 141.2)
XYZxyz(14.0710, 25.8868, 5.4832)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A01E #8D1EA0
analogous
#72A01E #31A01E #1EA04C
triadic
#31A01E #1E31A0 #A01E31
tetradic
#31A01E #1E72A0 #8D1EA0 #A04C1E
square
#31A01E #1E72A0 #8D1EA0 #A04C1E
split-complementary
#31A01E #4C1EA0 #A01E72
monochromatic
#11390B #216C14 #31A01E #41D428 #6CE059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A01E#FFFFFF#000000##000000
##31A01E1.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)
#97882E
Tritanopia (blue-blind)
#189B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a01e;
/* rgb */ color: rgb(49, 160, 30);
/* oklch */ color: oklch(62.0% 0.190 141.2);
Tailwind
colors: {
  custom: {
    50: '#7abd66',
    500: '#31a01e',
    950: '#000000',
  },
}
SCSS
$custom: #31a01e;
$custom-light: #7abd66;
$custom-dark: #000000;
JSON
{
  "hex": "#31a01e",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 111.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.18995,
    "h": 141.2
  },
  "luminance": 0.25888
}

Semantic roles & 50–950 ramp

primary
#31A01E
secondary
#B456C4
accent
#3DEBD2
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A01E

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

Preview Lab → · Contrast checker → · Palette generator →

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