#317F1D#317F1D

#317F1D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.152 H 140.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#317F1D
RGBrgb(49, 127, 29)
HSLhsl(108, 63%, 31%)
HSVhsv(108, 77%, 50%)
CMYKcmyk(61.4%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.87, -42.44, 43.29)
CIE-LCHlch(46.87, 60.62, 134.43°)
OKLaboklab(52.8% -0.1164 0.0974)
OKLCHoklch(52.8% 0.152 140.1)
XYZxyz(9.0774, 15.9196, 3.7566)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F1D #6B1D7F
analogous
#627F1D #317F1D #1D7F3A
triadic
#317F1D #1D317F #7F1D31
tetradic
#317F1D #1D627F #6B1D7F #7F3A1D
square
#317F1D #1D627F #6B1D7F #7F3A1D
split-complementary
#317F1D #3A1D7F #7F1D62
monochromatic
#0B1B06 #1E4D12 #317F1D #44B128 #60D442

Accessibility & contrast

On white

5.02
#317F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#317F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F1D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F1D#FFFFFF#000000##FFFFFF
##317F1D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#277B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f1d;
/* rgb */ color: rgb(49, 127, 29);
/* oklch */ color: oklch(52.8% 0.152 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a560',
    500: '#317f1d',
    950: '#000000',
  },
}
SCSS
$custom: #317f1d;
$custom-light: #73a560;
$custom-dark: #000000;
JSON
{
  "hex": "#317f1d",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 107.755,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.1518,
    "h": 140.1
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#317F1D
secondary
#9C45B2
accent
#42E6C4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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