#317016#317016

#317016 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.137 H 138.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#317016
RGBrgb(49, 112, 22)
HSLhsl(102, 67%, 26%)
HSVhsv(102, 80%, 44%)
CMYKcmyk(56.3%, 0%, 80.4%, 56.1%)
CIE-LABlab(41.69, -37.04, 40.76)
CIE-LCHlch(41.69, 55.07, 132.26°)
OKLaboklab(48.5% -0.1023 0.0911)
OKLCHoklch(48.5% 0.137 138.3)
XYZxyz(7.2053, 12.2987, 2.7531)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317016 #551670
analogous
#5E7016 #317016 #167028
triadic
#317016 #163170 #701631
tetradic
#317016 #165E70 #551670 #702816
square
#317016 #165E70 #551670 #702816
split-complementary
#317016 #281670 #70165E
monochromatic
#0B1A05 #1B3D0C #317016 #47A320 #5ED52B

Accessibility & contrast

On white

6.07
#317016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#317016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317016
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317016#FFFFFF#000000##FFFFFF
##3170161.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#2C6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317016;
/* rgb */ color: rgb(49, 112, 22);
/* oklch */ color: oklch(48.5% 0.137 138.3);
Tailwind
colors: {
  custom: {
    50: '#719a5b',
    500: '#317016',
    950: '#000000',
  },
}
SCSS
$custom: #317016;
$custom-light: #719a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317016",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 102,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.13697,
    "h": 138.3
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#317016
secondary
#863CA6
accent
#3EEAB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317016

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

Preview Lab → · Contrast checker → · Palette generator →

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