#317615#317615

#317615 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.145 H 138.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#317615
RGBrgb(49, 118, 21)
HSLhsl(103, 70%, 27%)
HSVhsv(103, 82%, 46%)
CMYKcmyk(58.5%, 0%, 82.2%, 53.7%)
CIE-LABlab(43.75, -39.50, 43.07)
CIE-LCHlch(43.75, 58.44, 132.53°)
OKLaboklab(50.2% -0.109 0.0957)
OKLCHoklch(50.2% 0.145 138.7)
XYZxyz(7.8801, 13.6633, 2.9314)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317615 #5A1576
analogous
#627615 #317615 #157629
triadic
#317615 #153176 #761531
tetradic
#317615 #156276 #5A1576 #762915
square
#317615 #156276 #5A1576 #762915
split-complementary
#317615 #291576 #761562
monochromatic
#0B1A05 #1B420C #317615 #47AA1E #5ED92C

Accessibility & contrast

On white

5.63
#317615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#317615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317615
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317615#FFFFFF#000000##FFFFFF
##3176151.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#2A7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317615;
/* rgb */ color: rgb(49, 118, 21);
/* oklch */ color: oklch(50.2% 0.145 138.7);
Tailwind
colors: {
  custom: {
    50: '#729e5b',
    500: '#317615',
    950: '#000000',
  },
}
SCSS
$custom: #317615;
$custom-light: #729e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317615",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 102.68,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.502,
    "c": 0.14509,
    "h": 138.7
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#317615
secondary
#8B3BAC
accent
#3BEDB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317615

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

Preview Lab → · Contrast checker → · Palette generator →

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