#317117#317117

#317117 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.138 H 138.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#317117
RGBrgb(49, 113, 23)
HSLhsl(103, 66%, 27%)
HSVhsv(103, 80%, 44%)
CMYKcmyk(56.6%, 0%, 79.6%, 55.7%)
CIE-LABlab(42.04, -37.37, 40.74)
CIE-LCHlch(42.04, 55.29, 132.53°)
OKLaboklab(48.79% -0.1032 0.0912)
OKLCHoklch(48.79% 0.138 138.5)
XYZxyz(7.3261, 12.5245, 2.8419)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317117 #571771
analogous
#5E7117 #317117 #17712A
triadic
#317117 #173171 #711731
tetradic
#317117 #175E71 #571771 #712A17
square
#317117 #175E71 #571771 #712A17
split-complementary
#317117 #2A1771 #71175E
monochromatic
#0B1905 #1B3E0D #317117 #47A421 #5ED42E

Accessibility & contrast

On white

5.99
#317117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#317117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317117
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317117#FFFFFF#000000##FFFFFF
##3171171.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756603
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#2B6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317117;
/* rgb */ color: rgb(49, 113, 23);
/* oklch */ color: oklch(48.8% 0.138 138.5);
Tailwind
colors: {
  custom: {
    50: '#719a5b',
    500: '#317117',
    950: '#000000',
  },
}
SCSS
$custom: #317117;
$custom-light: #719a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317117",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 102.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.13768,
    "h": 138.5
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#317117
secondary
#883DA7
accent
#3FE9B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317117

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

Preview Lab → · Contrast checker → · Palette generator →

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