#317816#317816

#317816 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.147 H 139.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#317816
RGBrgb(49, 120, 22)
HSLhsl(103, 69%, 28%)
HSVhsv(103, 82%, 47%)
CMYKcmyk(59.2%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.44, -40.22, 43.39)
CIE-LCHlch(44.44, 59.17, 132.83°)
OKLaboklab(50.77% -0.1109 0.0966)
OKLCHoklch(50.77% 0.147 139)
XYZxyz(8.1276, 14.1431, 3.0605)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317816 #5D1678
analogous
#627816 #317816 #16782C
triadic
#317816 #163178 #781631
tetradic
#317816 #166278 #5D1678 #782C16
square
#317816 #166278 #5D1678 #782C16
split-complementary
#317816 #2C1678 #781662
monochromatic
#0B1A05 #1C440D #317816 #46AC1F #5ED92F

Accessibility & contrast

On white

5.48
#317816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#317816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317816
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317816#FFFFFF#000000##FFFFFF
##3178161.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#2A7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317816;
/* rgb */ color: rgb(49, 120, 22);
/* oklch */ color: oklch(50.8% 0.147 139.0);
Tailwind
colors: {
  custom: {
    50: '#72a05c',
    500: '#317816',
    950: '#000000',
  },
}
SCSS
$custom: #317816;
$custom-light: #72a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#317816",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 103.469,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.14705,
    "h": 139
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#317816
secondary
#8E3CAD
accent
#3CECBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #317816

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

Preview Lab → · Contrast checker → · Palette generator →

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