#317319#317319

#317319 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.139 H 138.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#317319
RGBrgb(49, 115, 25)
HSLhsl(104, 64%, 27%)
HSVhsv(104, 78%, 45%)
CMYKcmyk(57.4%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.74, -38.04, 40.69)
CIE-LCHlch(42.74, 55.70, 133.07°)
OKLaboklab(49.38% -0.1048 0.0914)
OKLCHoklch(49.38% 0.139 138.9)
XYZxyz(7.5725, 12.9840, 3.0266)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317319 #5B1973
analogous
#5E7319 #317319 #19732E
triadic
#317319 #193173 #731931
tetradic
#317319 #195E73 #5B1973 #732E19
square
#317319 #195E73 #5B1973 #732E19
split-complementary
#317319 #2E1973 #73195E
monochromatic
#0B1905 #1C410E #317319 #46A524 #5ED334

Accessibility & contrast

On white

5.84
#317319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#317319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317319
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317319#FFFFFF#000000##FFFFFF
##3173191.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776806
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#2B6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317319;
/* rgb */ color: rgb(49, 115, 25);
/* oklch */ color: oklch(49.4% 0.139 138.9);
Tailwind
colors: {
  custom: {
    50: '#719c5d',
    500: '#317319',
    950: '#000000',
  },
}
SCSS
$custom: #317319;
$custom-light: #719c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#317319",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 104,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49377,
    "c": 0.13907,
    "h": 138.9
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#317319
secondary
#8C40A8
accent
#41E7BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317319

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

Preview Lab → · Contrast checker → · Palette generator →

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