#317D1B#317D1B

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

Color values

HEX#317D1B
RGBrgb(49, 125, 27)
HSLhsl(107, 64%, 30%)
HSVhsv(107, 78%, 49%)
CMYKcmyk(60.8%, 0%, 78.4%, 51%)
CIE-LABlab(46.18, -41.82, 43.33)
CIE-LCHlch(46.18, 60.22, 133.98°)
OKLaboklab(52.22% -0.1149 0.0972)
OKLCHoklch(52.22% 0.151 139.8)
XYZxyz(8.7977, 15.3985, 3.5453)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D1B #671B7D
analogous
#627D1B #317D1B #1B7D36
triadic
#317D1B #1B317D #7D1B31
tetradic
#317D1B #1B627D #671B7D #7D361B
square
#317D1B #1B627D #671B7D #7D361B
split-complementary
#317D1B #361B7D #7D1B62
monochromatic
#0A1905 #1D4B10 #317D1B #45AF26 #5FD53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317D1B#FFFFFF#000000##FFFFFF
##317D1B1.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)
#817105
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#28796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d1b;
/* rgb */ color: rgb(49, 125, 27);
/* oklch */ color: oklch(52.2% 0.150 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a35f',
    500: '#317d1b',
    950: '#000000',
  },
}
SCSS
$custom: #317d1b;
$custom-light: #73a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#317d1b",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 106.531,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.1505,
    "h": 139.8
  },
  "luminance": 0.15399
}

Semantic roles & 50–950 ramp

primary
#317D1B
secondary
#9843B1
accent
#40E7C2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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