#317E16#317E16

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

Color values

HEX#317E16
RGBrgb(49, 126, 22)
HSLhsl(104, 70%, 29%)
HSVhsv(104, 83%, 49%)
CMYKcmyk(61.1%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.49, -42.53, 45.33)
CIE-LCHlch(46.49, 62.16, 133.18°)
OKLaboklab(52.47% -0.1171 0.1006)
OKLCHoklch(52.47% 0.154 139.3)
XYZxyz(8.8719, 15.6318, 3.3086)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E16 #63167E
analogous
#657E16 #317E16 #167E2F
triadic
#317E16 #16317E #7E1631
tetradic
#317E16 #16657E #63167E #7E2F16
square
#317E16 #16657E #63167E #7E2F16
split-complementary
#317E16 #2F167E #7E1665
monochromatic
#0A1A05 #1D4A0D #317E16 #45B21F #5FDB33

Accessibility & contrast

On white

5.09
#317E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#317E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E16
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E16#FFFFFF#000000##FFFFFF
##317E161.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#287A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e16;
/* rgb */ color: rgb(49, 126, 22);
/* oklch */ color: oklch(52.5% 0.154 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a45d',
    500: '#317e16',
    950: '#000000',
  },
}
SCSS
$custom: #317e16;
$custom-light: #73a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#317e16",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 104.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.15439,
    "h": 139.3
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#317E16
secondary
#943DB3
accent
#3BEDBF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E16

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

Preview Lab → · Contrast checker → · Palette generator →

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