#317916#317916

#317916 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.148 H 139.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#317916
RGBrgb(49, 121, 22)
HSLhsl(104, 69%, 28%)
HSVhsv(104, 82%, 47%)
CMYKcmyk(59.5%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.78, -40.61, 43.72)
CIE-LCHlch(44.78, 59.67, 132.89°)
OKLaboklab(51.06% -0.1119 0.0972)
OKLCHoklch(51.06% 0.148 139)
XYZxyz(8.2485, 14.3849, 3.1008)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317916 #5E1679
analogous
#627916 #317916 #16792C
triadic
#317916 #163179 #791631
tetradic
#317916 #166279 #5E1679 #792C16
square
#317916 #166279 #5E1679 #792C16
split-complementary
#317916 #2C1679 #791662
monochromatic
#0A1A05 #1C450D #317916 #46AD1F #5ED930

Accessibility & contrast

On white

5.42
#317916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#317916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317916
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317916#FFFFFF#000000##FFFFFF
##3179161.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#297567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317916;
/* rgb */ color: rgb(49, 121, 22);
/* oklch */ color: oklch(51.1% 0.148 139.0);
Tailwind
colors: {
  custom: {
    50: '#72a05c',
    500: '#317916',
    950: '#000000',
  },
}
SCSS
$custom: #317916;
$custom-light: #72a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#317916",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 103.636,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.14828,
    "h": 139
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#317916
secondary
#8F3DAE
accent
#3CECBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #317916

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

Preview Lab → · Contrast checker → · Palette generator →

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