#317918#317918

#317918 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.147 H 139.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#317918
RGBrgb(49, 121, 24)
HSLhsl(105, 67%, 28%)
HSVhsv(105, 80%, 47%)
CMYKcmyk(59.5%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.79, -40.48, 43.05)
CIE-LCHlch(44.79, 59.10, 133.24°)
OKLaboklab(51.07% -0.1115 0.0961)
OKLCHoklch(51.07% 0.147 139.2)
XYZxyz(8.2685, 14.3929, 3.2064)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317918 #601879
analogous
#617918 #317918 #18792F
triadic
#317918 #183179 #791831
tetradic
#317918 #186179 #601879 #792F18
square
#317918 #186179 #601879 #792F18
split-complementary
#317918 #2F1879 #791861
monochromatic
#0A1A05 #1C460E #317918 #46AC22 #5ED735

Accessibility & contrast

On white

5.41
#317918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#317918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317918
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317918#FFFFFF#000000##FFFFFF
##3179181.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#297567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317918;
/* rgb */ color: rgb(49, 121, 24);
/* oklch */ color: oklch(51.1% 0.147 139.2);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#317918',
    950: '#000000',
  },
}
SCSS
$custom: #317918;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#317918",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 104.536,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.14721,
    "h": 139.2
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#317918
secondary
#913FAE
accent
#3EEABE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #317918

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

Preview Lab → · Contrast checker → · Palette generator →

#317918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva