#317A18#317A18

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

Color values

HEX#317A18
RGBrgb(49, 122, 24)
HSLhsl(105, 67%, 29%)
HSVhsv(105, 80%, 48%)
CMYKcmyk(59.8%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.13, -40.87, 43.38)
CIE-LCHlch(45.13, 59.60, 133.29°)
OKLaboklab(51.35% -0.1125 0.0968)
OKLCHoklch(51.35% 0.148 139.3)
XYZxyz(8.3907, 14.6373, 3.2471)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A18 #61187A
analogous
#627A18 #317A18 #187A30
triadic
#317A18 #18317A #7A1831
tetradic
#317A18 #18627A #61187A #7A3018
square
#317A18 #18627A #61187A #7A3018
split-complementary
#317A18 #30187A #7A1862
monochromatic
#0A1A05 #1C470E #317A18 #46AD22 #5ED735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317A18#FFFFFF#000000##FFFFFF
##317A181.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)
#7E6F00
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#297668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a18;
/* rgb */ color: rgb(49, 122, 24);
/* oklch */ color: oklch(51.4% 0.148 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a15d',
    500: '#317a18',
    950: '#000000',
  },
}
SCSS
$custom: #317a18;
$custom-light: #72a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#317a18",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 104.694,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.14846,
    "h": 139.3
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#317A18
secondary
#923FAF
accent
#3EEABE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317A18

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

Preview Lab → · Contrast checker → · Palette generator →

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