#317715#317715

#317715 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.146 H 138.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#317715
RGBrgb(49, 119, 21)
HSLhsl(103, 70%, 27%)
HSVhsv(103, 82%, 47%)
CMYKcmyk(58.8%, 0%, 82.4%, 53.3%)
CIE-LABlab(44.09, -39.90, 43.39)
CIE-LCHlch(44.09, 58.95, 132.60°)
OKLaboklab(50.48% -0.1101 0.0964)
OKLCHoklch(50.48% 0.146 138.8)
XYZxyz(7.9985, 13.9001, 2.9708)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317715 #5B1577
analogous
#627715 #317715 #15772A
triadic
#317715 #153177 #771531
tetradic
#317715 #156277 #5B1577 #772A15
square
#317715 #156277 #5B1577 #772A15
split-complementary
#317715 #2A1577 #771562
monochromatic
#0B1A05 #1C430C #317715 #46AB1E #5EDA2D

Accessibility & contrast

On white

5.56
#317715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#317715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317715
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317715#FFFFFF#000000##FFFFFF
##3177151.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#2A7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #317715;
/* rgb */ color: rgb(49, 119, 21);
/* oklch */ color: oklch(50.5% 0.146 138.8);
Tailwind
colors: {
  custom: {
    50: '#729f5c',
    500: '#317715',
    950: '#000000',
  },
}
SCSS
$custom: #317715;
$custom-light: #729f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317715",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 102.857,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.14632,
    "h": 138.8
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#317715
secondary
#8C3BAD
accent
#3BEDBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #317715

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

Preview Lab → · Contrast checker → · Palette generator →

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