#31701E#31701E

#31701E is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.6% C 0.132 H 139.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#31701E
RGBrgb(49, 112, 30)
HSLhsl(106, 58%, 28%)
HSVhsv(106, 73%, 44%)
CMYKcmyk(56.3%, 0%, 73.2%, 56.1%)
CIE-LABlab(41.74, -36.41, 37.68)
CIE-LCHlch(41.74, 52.40, 134.02°)
OKLaboklab(48.57% -0.1001 0.0858)
OKLCHoklch(48.57% 0.132 139.4)
XYZxyz(7.2948, 12.3345, 3.2244)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31701E #5D1E70
analogous
#5A701E #31701E #1E7034
triadic
#31701E #1E3170 #701E31
tetradic
#31701E #1E5A70 #5D1E70 #70341E
square
#31701E #1E5A70 #5D1E70 #70341E
split-complementary
#31701E #341E70 #701E5A
monochromatic
#0B1806 #1C4011 #31701E #46A02B #5ECB3D

Accessibility & contrast

On white

6.06
#31701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#31701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31701E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31701E#FFFFFF#000000##FFFFFF
##31701E1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736611
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#2B6C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #31701e;
/* rgb */ color: rgb(49, 112, 30);
/* oklch */ color: oklch(48.6% 0.132 139.4);
Tailwind
colors: {
  custom: {
    50: '#709a5f',
    500: '#31701e',
    950: '#000000',
  },
}
SCSS
$custom: #31701e;
$custom-light: #709a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#31701e",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 106.098,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48567,
    "c": 0.13185,
    "h": 139.4
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

primary
#31701E
secondary
#8E46A4
accent
#47E1BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #31701E

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

Preview Lab → · Contrast checker → · Palette generator →

#31701E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva