#317312#317312

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

Color values

HEX#317312
RGBrgb(49, 115, 18)
HSLhsl(101, 73%, 26%)
HSVhsv(101, 84%, 45%)
CMYKcmyk(57.4%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.70, -38.49, 43.05)
CIE-LCHlch(42.70, 57.75, 131.81°)
OKLaboklab(49.33% -0.1065 0.0952)
OKLCHoklch(49.33% 0.143 138.2)
XYZxyz(7.5063, 12.9575, 2.6776)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317312 #541273
analogous
#617312 #317312 #127323
triadic
#317312 #123173 #731231
tetradic
#317312 #126173 #541273 #732312
square
#317312 #126173 #541273 #732312
split-complementary
#317312 #231273 #731261
monochromatic
#0B1A04 #1A3E0A #317312 #48A81A #5EDD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317312#FFFFFF#000000##FFFFFF
##3173121.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)
#6F631E
Tritanopia (blue-blind)
#2B6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317312;
/* rgb */ color: rgb(49, 115, 18);
/* oklch */ color: oklch(49.3% 0.143 138.2);
Tailwind
colors: {
  custom: {
    50: '#719c5a',
    500: '#317312',
    950: '#000000',
  },
}
SCSS
$custom: #317312;
$custom-light: #719c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#317312",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 100.825,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.14285,
    "h": 138.2
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#317312
secondary
#8537AA
accent
#38F0B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317312

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

Preview Lab → · Contrast checker → · Palette generator →

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