#317B13#317B13

#317B13 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.152 H 138.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#317B13
RGBrgb(49, 123, 19)
HSLhsl(103, 73%, 28%)
HSVhsv(103, 85%, 48%)
CMYKcmyk(60.2%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.45, -41.56, 45.28)
CIE-LCHlch(45.45, 61.46, 132.55°)
OKLaboklab(51.6% -0.1147 0.1)
OKLCHoklch(51.6% 0.152 138.9)
XYZxyz(8.4668, 14.8652, 3.0391)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B13 #5D137B
analogous
#657B13 #317B13 #137B29
triadic
#317B13 #13317B #7B1331
tetradic
#317B13 #13657B #5D137B #7B2913
square
#317B13 #13657B #5D137B #7B2913
split-complementary
#317B13 #29137B #7B1365
monochromatic
#0B1B04 #1C460B #317B13 #46B01B #5EDE2A

Accessibility & contrast

On white

5.29
#317B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#317B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B13
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B13#FFFFFF#000000##FFFFFF
##317B131.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#297768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b13;
/* rgb */ color: rgb(49, 123, 19);
/* oklch */ color: oklch(51.6% 0.152 138.9);
Tailwind
colors: {
  custom: {
    50: '#73a25b',
    500: '#317b13',
    950: '#000000',
  },
}
SCSS
$custom: #317b13;
$custom-light: #73a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#317b13",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 102.692,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.15217,
    "h": 138.9
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#317B13
secondary
#8E39B1
accent
#38F0BB
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317B13

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

Preview Lab → · Contrast checker → · Palette generator →

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