#317417#317417

#317417 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.141 H 138.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#317417
RGBrgb(49, 116, 23)
HSLhsl(103, 67%, 27%)
HSVhsv(103, 80%, 45%)
CMYKcmyk(57.8%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.07, -38.58, 41.74)
CIE-LCHlch(43.07, 56.84, 132.75°)
OKLaboklab(49.65% -0.1064 0.0933)
OKLCHoklch(49.65% 0.141 138.8)
XYZxyz(7.6664, 13.2050, 2.9553)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317417 #5A1774
analogous
#5F7417 #317417 #17742C
triadic
#317417 #173174 #741731
tetradic
#317417 #175F74 #5A1774 #742C17
square
#317417 #175F74 #5A1774 #742C17
split-complementary
#317417 #2C1774 #74175F
monochromatic
#0B1A05 #1B410D #317417 #47A721 #5ED630

Accessibility & contrast

On white

5.77
#317417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#317417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317417
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317417#FFFFFF#000000##FFFFFF
##3174171.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#2A7063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317417;
/* rgb */ color: rgb(49, 116, 23);
/* oklch */ color: oklch(49.6% 0.141 138.8);
Tailwind
colors: {
  custom: {
    50: '#719d5c',
    500: '#317417',
    950: '#000000',
  },
}
SCSS
$custom: #317417;
$custom-light: #719d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317417",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 103.226,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49646,
    "c": 0.14149,
    "h": 138.8
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#317417
secondary
#8B3DA9
accent
#3EEABA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317417

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

Preview Lab → · Contrast checker → · Palette generator →

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