#317A19#317A19

#317A19 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.148 H 139.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#317A19
RGBrgb(49, 122, 25)
HSLhsl(105, 66%, 29%)
HSVhsv(105, 80%, 48%)
CMYKcmyk(59.8%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.14, -40.80, 43.04)
CIE-LCHlch(45.14, 59.31, 133.47°)
OKLaboklab(51.36% -0.1123 0.0963)
OKLCHoklch(51.36% 0.148 139.4)
XYZxyz(8.4013, 14.6415, 3.3029)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A19 #62197A
analogous
#627A19 #317A19 #197A32
triadic
#317A19 #19317A #7A1931
tetradic
#317A19 #19627A #62197A #7A3219
square
#317A19 #19627A #62197A #7A3219
split-complementary
#317A19 #32197A #7A1962
monochromatic
#0A1905 #1D470F #317A19 #45AD23 #5FD637

Accessibility & contrast

On white

5.35
#317A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#317A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A19
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A19#FFFFFF#000000##FFFFFF
##317A191.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#297668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a19;
/* rgb */ color: rgb(49, 122, 25);
/* oklch */ color: oklch(51.4% 0.148 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a15e',
    500: '#317a19',
    950: '#000000',
  },
}
SCSS
$custom: #317a19;
$custom-light: #72a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#317a19",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 105.155,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.14791,
    "h": 139.4
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#317A19
secondary
#9340AF
accent
#3FE9BF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317A19

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

Preview Lab → · Contrast checker → · Palette generator →

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