#317C19#317C19

#317C19 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.150 H 139.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#317C19
RGBrgb(49, 124, 25)
HSLhsl(105, 66%, 29%)
HSVhsv(105, 80%, 49%)
CMYKcmyk(60.5%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.82, -41.58, 43.70)
CIE-LCHlch(45.82, 60.32, 133.57°)
OKLaboklab(51.92% -0.1144 0.0977)
OKLCHoklch(51.92% 0.15 139.5)
XYZxyz(8.6494, 15.1377, 3.3856)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C19 #64197C
analogous
#637C19 #317C19 #197C33
triadic
#317C19 #19317C #7C1931
tetradic
#317C19 #19637C #64197C #7C3319
square
#317C19 #19637C #64197C #7C3319
split-complementary
#317C19 #33197C #7C1963
monochromatic
#0A1905 #1D490F #317C19 #45AF23 #5FD738

Accessibility & contrast

On white

5.21
#317C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#317C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C19
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C19#FFFFFF#000000##FFFFFF
##317C191.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#287869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c19;
/* rgb */ color: rgb(49, 124, 25);
/* oklch */ color: oklch(51.9% 0.150 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a35e',
    500: '#317c19',
    950: '#000000',
  },
}
SCSS
$custom: #317c19;
$custom-light: #73a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#317c19",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 105.455,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.15039,
    "h": 139.5
  },
  "luminance": 0.15138
}

Semantic roles & 50–950 ramp

primary
#317C19
secondary
#9540B0
accent
#3EE9C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317C19

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

Preview Lab → · Contrast checker → · Palette generator →

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