#317316#317316

#317316 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.141 H 138.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#317316
RGBrgb(49, 115, 22)
HSLhsl(103, 68%, 27%)
HSVhsv(103, 81%, 45%)
CMYKcmyk(57.4%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.72, -38.25, 41.75)
CIE-LCHlch(42.72, 56.62, 132.49°)
OKLaboklab(49.36% -0.1056 0.0931)
OKLCHoklch(49.36% 0.141 138.6)
XYZxyz(7.5419, 12.9717, 2.8653)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317316 #581673
analogous
#607316 #317316 #16732A
triadic
#317316 #163173 #731631
tetradic
#317316 #166073 #581673 #732A16
square
#317316 #166073 #581673 #732A16
split-complementary
#317316 #2A1673 #731660
monochromatic
#0B1A05 #1B400C #317316 #47A620 #5ED72D

Accessibility & contrast

On white

5.84
#317316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#317316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317316
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317316#FFFFFF#000000##FFFFFF
##3173161.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#2B6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317316;
/* rgb */ color: rgb(49, 115, 22);
/* oklch */ color: oklch(49.4% 0.141 138.6);
Tailwind
colors: {
  custom: {
    50: '#719c5b',
    500: '#317316',
    950: '#000000',
  },
}
SCSS
$custom: #317316;
$custom-light: #719c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317316",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 102.581,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.14079,
    "h": 138.6
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#317316
secondary
#893CA9
accent
#3DEBB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317316

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

Preview Lab → · Contrast checker → · Palette generator →

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