#317511#317511

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

Color values

HEX#317511
RGBrgb(49, 117, 17)
HSLhsl(101, 75%, 26%)
HSVhsv(101, 85%, 46%)
CMYKcmyk(58.1%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.38, -39.34, 43.97)
CIE-LCHlch(43.38, 59.00, 131.82°)
OKLaboklab(49.89% -0.1088 0.097)
OKLCHoklch(49.89% 0.146 138.3)
XYZxyz(7.7288, 13.4154, 2.7124)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317511 #551175
analogous
#637511 #317511 #117523
triadic
#317511 #113175 #751131
tetradic
#317511 #116375 #551175 #752311
square
#317511 #116375 #551175 #752311
split-complementary
#317511 #231175 #751163
monochromatic
#0B1B04 #1B4009 #317511 #47AA19 #5EDF22

Accessibility & contrast

On white

5.70
#317511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#317511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317511
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317511#FFFFFF#000000##FFFFFF
##3175111.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#2B7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317511;
/* rgb */ color: rgb(49, 117, 17);
/* oklch */ color: oklch(49.9% 0.146 138.3);
Tailwind
colors: {
  custom: {
    50: '#729d5a',
    500: '#317511',
    950: '#000000',
  },
}
SCSS
$custom: #317511;
$custom-light: #729d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#317511",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 100.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.14577,
    "h": 138.3
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#317511
secondary
#8636AC
accent
#37F1B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #317511

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

Preview Lab → · Contrast checker → · Palette generator →

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