#317628#317628

#317628 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.132 H 141.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#317628
RGBrgb(49, 118, 40)
HSLhsl(113, 49%, 31%)
HSVhsv(113, 66%, 46%)
CMYKcmyk(58.5%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.89, -37.86, 35.49)
CIE-LCHlch(43.89, 51.90, 136.85°)
OKLaboklab(50.37% -0.1034 0.0825)
OKLCHoklch(50.37% 0.132 141.4)
XYZxyz(8.1277, 13.7623, 4.2352)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317628 #6D2876
analogous
#587628 #317628 #287646
triadic
#317628 #283176 #762831
tetradic
#317628 #285876 #6D2876 #764628
square
#317628 #285876 #6D2876 #764628
split-complementary
#317628 #462876 #762858
monochromatic
#0B1B09 #1E4819 #317628 #44A437 #61C554

Accessibility & contrast

On white

5.60
#317628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#317628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317628
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317628#FFFFFF#000000##FFFFFF
##3176281.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#287266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #317628;
/* rgb */ color: rgb(49, 118, 40);
/* oklch */ color: oklch(50.4% 0.132 141.4);
Tailwind
colors: {
  custom: {
    50: '#719e65',
    500: '#317628',
    950: '#000000',
  },
}
SCSS
$custom: #317628;
$custom-light: #719e65;
$custom-dark: #000000;
JSON
{
  "hex": "#317628",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 113.077,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50365,
    "c": 0.13226,
    "h": 141.4
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#317628
secondary
#9E52A8
accent
#4FD9C9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #317628

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

Preview Lab → · Contrast checker → · Palette generator →

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