#317128#317128

#317128 is a mid, vivid green. Relative luminance 0.126; OKLCH L 49.0% C 0.125 H 141.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#317128
RGBrgb(49, 113, 40)
HSLhsl(113, 48%, 30%)
HSVhsv(113, 65%, 44%)
CMYKcmyk(56.6%, 0%, 64.6%, 55.7%)
CIE-LABlab(42.18, -35.79, 33.58)
CIE-LCHlch(42.18, 49.08, 136.83°)
OKLaboklab(48.96% -0.0978 0.0784)
OKLCHoklch(48.96% 0.125 141.3)
XYZxyz(7.5544, 12.6158, 4.0441)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317128 #682871
analogous
#557128 #317128 #287144
triadic
#317128 #283171 #712831
tetradic
#317128 #285571 #682871 #714428
square
#317128 #285571 #682871 #714428
split-complementary
#317128 #442871 #712855
monochromatic
#0A1708 #1D4418 #317128 #459E38 #60C252

Accessibility & contrast

On white

5.96
#317128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#317128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317128
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317128#FFFFFF#000000##FFFFFF
##3171281.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6C612E
Tritanopia (blue-blind)
#296E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317128;
/* rgb */ color: rgb(49, 113, 40);
/* oklch */ color: oklch(49.0% 0.125 141.3);
Tailwind
colors: {
  custom: {
    50: '#709a65',
    500: '#317128',
    950: '#000000',
  },
}
SCSS
$custom: #317128;
$custom-light: #709a65;
$custom-dark: #000000;
JSON
{
  "hex": "#317128",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 112.603,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.12532,
    "h": 141.3
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#317128
secondary
#9952A3
accent
#50D7C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #317128

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

Preview Lab → · Contrast checker → · Palette generator →

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