#317617#317617

#317617 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.144 H 138.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#317617
RGBrgb(49, 118, 23)
HSLhsl(104, 67%, 28%)
HSVhsv(104, 81%, 46%)
CMYKcmyk(58.5%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.76, -39.37, 42.40)
CIE-LCHlch(43.76, 57.87, 132.88°)
OKLaboklab(50.21% -0.1086 0.0946)
OKLCHoklch(50.21% 0.144 138.9)
XYZxyz(7.8994, 13.6710, 3.0329)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317617 #5C1776
analogous
#607617 #317617 #17762C
triadic
#317617 #173176 #761731
tetradic
#317617 #176076 #5C1776 #762C17
square
#317617 #176076 #5C1776 #762C17
split-complementary
#317617 #2C1776 #761760
monochromatic
#0B1A05 #1C430D #317617 #46A921 #5ED731

Accessibility & contrast

On white

5.62
#317617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#317617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317617
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317617#FFFFFF#000000##FFFFFF
##3176171.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#2A7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317617;
/* rgb */ color: rgb(49, 118, 23);
/* oklch */ color: oklch(50.2% 0.144 138.9);
Tailwind
colors: {
  custom: {
    50: '#729e5c',
    500: '#317617',
    950: '#000000',
  },
}
SCSS
$custom: #317617;
$custom-light: #729e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317617",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 103.579,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.14402,
    "h": 138.9
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#317617
secondary
#8D3EAB
accent
#3EEABB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317617

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

Preview Lab → · Contrast checker → · Palette generator →

#317617 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva