#317D19#317D19

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

Color values

HEX#317D19
RGBrgb(49, 125, 25)
HSLhsl(106, 67%, 29%)
HSVhsv(106, 80%, 49%)
CMYKcmyk(60.8%, 0%, 80%, 51%)
CIE-LABlab(46.16, -41.96, 44.03)
CIE-LCHlch(46.16, 60.82, 133.62°)
OKLaboklab(52.2% -0.1154 0.0983)
OKLCHoklch(52.2% 0.152 139.6)
XYZxyz(8.7753, 15.3896, 3.4276)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D19 #65197D
analogous
#637D19 #317D19 #197D33
triadic
#317D19 #19317D #7D1931
tetradic
#317D19 #19637D #65197D #7D3319
square
#317D19 #19637D #65197D #7D3319
split-complementary
#317D19 #33197D #7D1963
monochromatic
#0A1A05 #1D4A0F #317D19 #45B023 #5FD739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317D19#FFFFFF#000000##FFFFFF
##317D191.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)
#817101
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#28796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d19;
/* rgb */ color: rgb(49, 125, 25);
/* oklch */ color: oklch(52.2% 0.152 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a35e',
    500: '#317d19',
    950: '#000000',
  },
}
SCSS
$custom: #317d19;
$custom-light: #73a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#317d19",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 105.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.15162,
    "h": 139.6
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#317D19
secondary
#9640B1
accent
#3EEAC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D19

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

Preview Lab → · Contrast checker → · Palette generator →

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