#317D16#317D16

#317D16 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.153 H 139.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#317D16
RGBrgb(49, 125, 22)
HSLhsl(104, 70%, 29%)
HSVhsv(104, 82%, 49%)
CMYKcmyk(60.8%, 0%, 82.4%, 51%)
CIE-LABlab(46.15, -42.15, 45.01)
CIE-LCHlch(46.15, 61.66, 133.12°)
OKLaboklab(52.19% -0.1161 0.0999)
OKLCHoklch(52.19% 0.153 139.3)
XYZxyz(8.7447, 15.3774, 3.2662)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D16 #62167D
analogous
#657D16 #317D16 #167D2F
triadic
#317D16 #16317D #7D1631
tetradic
#317D16 #16657D #62167D #7D2F16
square
#317D16 #16657D #62167D #7D2F16
split-complementary
#317D16 #2F167D #7D1665
monochromatic
#0A1A05 #1D490D #317D16 #45B11F #5FDB32

Accessibility & contrast

On white

5.15
#317D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#317D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D16
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D16#FFFFFF#000000##FFFFFF
##317D161.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#28796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d16;
/* rgb */ color: rgb(49, 125, 22);
/* oklch */ color: oklch(52.2% 0.153 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a35d',
    500: '#317d16',
    950: '#000000',
  },
}
SCSS
$custom: #317d16;
$custom-light: #73a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#317d16",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 104.272,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.15318,
    "h": 139.3
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#317D16
secondary
#933DB2
accent
#3BEDBE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D16

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

Preview Lab → · Contrast checker → · Palette generator →

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