#317519#317519

#317519 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.142 H 139.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#317519
RGBrgb(49, 117, 25)
HSLhsl(104, 65%, 28%)
HSVhsv(104, 79%, 46%)
CMYKcmyk(58.1%, 0%, 78.6%, 54.1%)
CIE-LABlab(43.43, -38.84, 41.37)
CIE-LCHlch(43.43, 56.74, 133.19°)
OKLaboklab(49.94% -0.107 0.0928)
OKLCHoklch(49.94% 0.142 139.1)
XYZxyz(7.8031, 13.4451, 3.1035)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317519 #5D1975
analogous
#5F7519 #317519 #19752F
triadic
#317519 #193175 #751931
tetradic
#317519 #195F75 #5D1975 #752F19
square
#317519 #195F75 #5D1975 #752F19
split-complementary
#317519 #2F1975 #75195F
monochromatic
#0B1905 #1C430E #317519 #46A724 #5ED435

Accessibility & contrast

On white

5.69
#317519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#317519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317519
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317519#FFFFFF#000000##FFFFFF
##3175191.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#2A7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317519;
/* rgb */ color: rgb(49, 117, 25);
/* oklch */ color: oklch(49.9% 0.142 139.1);
Tailwind
colors: {
  custom: {
    50: '#719d5d',
    500: '#317519',
    950: '#000000',
  },
}
SCSS
$custom: #317519;
$custom-light: #719d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#317519",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 104.348,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49944,
    "c": 0.14162,
    "h": 139.1
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#317519
secondary
#8E40AA
accent
#40E8BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317519

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

Preview Lab → · Contrast checker → · Palette generator →

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