#317C16#317C16

#317C16 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.152 H 139.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#317C16
RGBrgb(49, 124, 22)
HSLhsl(104, 70%, 29%)
HSVhsv(104, 82%, 49%)
CMYKcmyk(60.5%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.81, -41.77, 44.69)
CIE-LCHlch(45.81, 61.17, 133.07°)
OKLaboklab(51.9% -0.1151 0.0993)
OKLCHoklch(51.9% 0.152 139.2)
XYZxyz(8.6187, 15.1254, 3.2242)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C16 #61167C
analogous
#647C16 #317C16 #167C2E
triadic
#317C16 #16317C #7C1631
tetradic
#317C16 #16647C #61167C #7C2E16
square
#317C16 #16647C #61167C #7C2E16
split-complementary
#317C16 #2E167C #7C1664
monochromatic
#0A1A05 #1C480D #317C16 #46B01F #5EDB32

Accessibility & contrast

On white

5.22
#317C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#317C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C16
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C16#FFFFFF#000000##FFFFFF
##317C161.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#287869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c16;
/* rgb */ color: rgb(49, 124, 22);
/* oklch */ color: oklch(51.9% 0.152 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a35d',
    500: '#317c16',
    950: '#000000',
  },
}
SCSS
$custom: #317c16;
$custom-light: #73a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#317c16",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 104.118,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.15195,
    "h": 139.2
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#317C16
secondary
#923DB1
accent
#3BEDBE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317C16

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

Preview Lab → · Contrast checker → · Palette generator →

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