#317B1D#317B1D

#317B1D is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.147 H 139.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#317B1D
RGBrgb(49, 123, 29)
HSLhsl(107, 62%, 30%)
HSVhsv(107, 76%, 48%)
CMYKcmyk(60.2%, 0%, 76.4%, 51.8%)
CIE-LABlab(45.51, -40.90, 41.93)
CIE-LCHlch(45.51, 58.57, 134.29°)
OKLaboklab(51.67% -0.1123 0.0945)
OKLCHoklch(51.67% 0.147 139.9)
XYZxyz(8.5710, 14.9068, 3.5878)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B1D #671D7B
analogous
#607B1D #317B1D #1D7B38
triadic
#317B1D #1D317B #7B1D31
tetradic
#317B1D #1D607B #671D7B #7B381D
square
#317B1D #1D607B #671D7B #7B381D
split-complementary
#317B1D #381D7B #7B1D60
monochromatic
#0A1906 #1D4911 #317B1D #45AD29 #5FD240

Accessibility & contrast

On white

5.27
#317B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#317B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B1D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B1D#FFFFFF#000000##FFFFFF
##317B1D1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F0B
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#287769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b1d;
/* rgb */ color: rgb(49, 123, 29);
/* oklch */ color: oklch(51.7% 0.147 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a260',
    500: '#317b1d',
    950: '#000000',
  },
}
SCSS
$custom: #317b1d;
$custom-light: #72a260;
$custom-dark: #000000;
JSON
{
  "hex": "#317b1d",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 107.234,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.14679,
    "h": 139.9
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#317B1D
secondary
#9845AF
accent
#43E5C2
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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