#317A16#317A16

#317A16 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.150 H 139.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#317A16
RGBrgb(49, 122, 22)
HSLhsl(104, 69%, 28%)
HSVhsv(104, 82%, 48%)
CMYKcmyk(59.8%, 0%, 82%, 52.2%)
CIE-LABlab(45.12, -41.00, 44.04)
CIE-LCHlch(45.12, 60.17, 132.95°)
OKLaboklab(51.34% -0.113 0.0979)
OKLCHoklch(51.34% 0.15 139.1)
XYZxyz(8.3706, 14.6292, 3.1415)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A16 #5F167A
analogous
#637A16 #317A16 #167A2D
triadic
#317A16 #16317A #7A1631
tetradic
#317A16 #16637A #5F167A #7A2D16
square
#317A16 #16637A #5F167A #7A2D16
split-complementary
#317A16 #2D167A #7A1663
monochromatic
#0A1A05 #1C460D #317A16 #46AE1F #5EDA31

Accessibility & contrast

On white

5.35
#317A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#317A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A16
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A16#FFFFFF#000000##FFFFFF
##317A161.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#297668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a16;
/* rgb */ color: rgb(49, 122, 22);
/* oklch */ color: oklch(51.3% 0.150 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a15c',
    500: '#317a16',
    950: '#000000',
  },
}
SCSS
$custom: #317a16;
$custom-light: #73a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#317a16",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 103.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51338,
    "c": 0.14951,
    "h": 139.1
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#317A16
secondary
#903DAF
accent
#3CECBD
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317A16

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

Preview Lab → · Contrast checker → · Palette generator →

#317A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva