#317B16#317B16

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

Color values

HEX#317B16
RGBrgb(49, 123, 22)
HSLhsl(104, 70%, 28%)
HSVhsv(104, 82%, 48%)
CMYKcmyk(60.2%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.46, -41.39, 44.36)
CIE-LCHlch(45.46, 60.67, 133.01°)
OKLaboklab(51.62% -0.114 0.0986)
OKLCHoklch(51.62% 0.151 139.2)
XYZxyz(8.4940, 14.8761, 3.1827)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B16 #60167B
analogous
#637B16 #317B16 #167B2D
triadic
#317B16 #16317B #7B1631
tetradic
#317B16 #16637B #60167B #7B2D16
square
#317B16 #16637B #60167B #7B2D16
split-complementary
#317B16 #2D167B #7B1663
monochromatic
#0A1A05 #1C470D #317B16 #46AF1F #5EDA31

Accessibility & contrast

On white

5.28
#317B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#317B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B16
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B16#FFFFFF#000000##FFFFFF
##317B161.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#297768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b16;
/* rgb */ color: rgb(49, 123, 22);
/* oklch */ color: oklch(51.6% 0.151 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a25d',
    500: '#317b16',
    950: '#000000',
  },
}
SCSS
$custom: #317b16;
$custom-light: #73a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#317b16",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 103.96,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.15073,
    "h": 139.2
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#317B16
secondary
#913DB0
accent
#3BECBD
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317B16

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

Preview Lab → · Contrast checker → · Palette generator →

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