#317517#317517

#317517 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.143 H 138.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#317517
RGBrgb(49, 117, 23)
HSLhsl(103, 67%, 27%)
HSVhsv(103, 80%, 46%)
CMYKcmyk(58.1%, 0%, 80.3%, 54.1%)
CIE-LABlab(43.41, -38.98, 42.07)
CIE-LCHlch(43.41, 57.35, 132.81°)
OKLaboklab(49.93% -0.1075 0.094)
OKLCHoklch(49.93% 0.143 138.8)
XYZxyz(7.7823, 13.4368, 2.9939)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317517 #5B1775
analogous
#607517 #317517 #17752C
triadic
#317517 #173175 #751731
tetradic
#317517 #176075 #5B1775 #752C17
square
#317517 #176075 #5B1775 #752C17
split-complementary
#317517 #2C1775 #751760
monochromatic
#0B1A05 #1C420D #317517 #46A821 #5ED630

Accessibility & contrast

On white

5.70
#317517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#317517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317517
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317517#FFFFFF#000000##FFFFFF
##3175171.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#2A7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317517;
/* rgb */ color: rgb(49, 117, 23);
/* oklch */ color: oklch(49.9% 0.143 138.8);
Tailwind
colors: {
  custom: {
    50: '#729d5c',
    500: '#317517',
    950: '#000000',
  },
}
SCSS
$custom: #317517;
$custom-light: #729d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317517",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 103.404,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.14277,
    "h": 138.8
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317517

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

Preview Lab → · Contrast checker → · Palette generator →

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