#317311#317311

#317311 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.143 H 138.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#317311
RGBrgb(49, 115, 17)
HSLhsl(100, 74%, 26%)
HSVhsv(100, 85%, 45%)
CMYKcmyk(57.4%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.69, -38.55, 43.34)
CIE-LCHlch(42.69, 58.01, 131.65°)
OKLaboklab(49.33% -0.1067 0.0957)
OKLCHoklch(49.33% 0.143 138.1)
XYZxyz(7.4983, 12.9543, 2.6355)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317311 #531173
analogous
#627311 #317311 #117322
triadic
#317311 #113173 #731131
tetradic
#317311 #116273 #531173 #732211
square
#317311 #116273 #531173 #732211
split-complementary
#317311 #221173 #731162
monochromatic
#0B1B04 #1A3E09 #317311 #48A819 #5EDE21

Accessibility & contrast

On white

5.85
#317311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#317311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317311
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317311#FFFFFF#000000##FFFFFF
##3173111.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#2B6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317311;
/* rgb */ color: rgb(49, 115, 17);
/* oklch */ color: oklch(49.3% 0.143 138.1);
Tailwind
colors: {
  custom: {
    50: '#729c59',
    500: '#317311',
    950: '#000000',
  },
}
SCSS
$custom: #317311;
$custom-light: #729c59;
$custom-dark: #000000;
JSON
{
  "hex": "#317311",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 100.408,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.14331,
    "h": 138.1
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#317311
secondary
#8436AA
accent
#37F1B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317311

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

Preview Lab → · Contrast checker → · Palette generator →

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