#317917#317917

#317917 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.148 H 139.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#317917
RGBrgb(49, 121, 23)
HSLhsl(104, 68%, 28%)
HSVhsv(104, 81%, 47%)
CMYKcmyk(59.5%, 0%, 81%, 52.5%)
CIE-LABlab(44.79, -40.55, 43.39)
CIE-LCHlch(44.79, 59.39, 133.06°)
OKLaboklab(51.06% -0.1117 0.0967)
OKLCHoklch(51.06% 0.148 139.1)
XYZxyz(8.2583, 14.3889, 3.1526)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317917 #5F1779
analogous
#627917 #317917 #17792E
triadic
#317917 #173179 #791731
tetradic
#317917 #176279 #5F1779 #792E17
square
#317917 #176279 #5F1779 #792E17
split-complementary
#317917 #2E1779 #791762
monochromatic
#0A1A05 #1C460D #317917 #46AC21 #5ED832

Accessibility & contrast

On white

5.42
#317917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#317917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317917
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317917#FFFFFF#000000##FFFFFF
##3179171.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#297567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317917;
/* rgb */ color: rgb(49, 121, 23);
/* oklch */ color: oklch(51.1% 0.148 139.1);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#317917',
    950: '#000000',
  },
}
SCSS
$custom: #317917;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#317917",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 104.082,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.14776,
    "h": 139.1
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#317917
secondary
#903EAE
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #317917

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

Preview Lab → · Contrast checker → · Palette generator →

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