#317B41#317B41

#317B41 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.116 H 148.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#317B41
RGBrgb(49, 123, 65)
HSLhsl(133, 43%, 34%)
HSVhsv(133, 60%, 48%)
CMYKcmyk(60.2%, 0%, 47.2%, 51.8%)
CIE-LABlab(45.91, -36.41, 24.96)
CIE-LCHlch(45.91, 44.14, 145.57°)
OKLaboklab(52.13% -0.0985 0.0611)
OKLCHoklch(52.13% 0.116 148.2)
XYZxyz(9.3031, 15.1997, 7.4436)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B41 #7B316B
analogous
#467B31 #317B41 #317B66
triadic
#317B41 #41317B #7B4131
tetradic
#317B41 #31467B #7B316B #7B6631
square
#317B41 #31467B #7B316B #7B6631
split-complementary
#317B41 #66317B #7B3146
monochromatic
#0E2313 #204F2A #317B41 #42A758 #65C279

Accessibility & contrast

On white

5.20
#317B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#317B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B41
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B41#FFFFFF#000000##FFFFFF
##317B411.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713D
Deuteranopia (green-blind)
#726A45
Tritanopia (blue-blind)
#1F796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317b41;
/* rgb */ color: rgb(49, 123, 65);
/* oklch */ color: oklch(52.1% 0.116 148.2);
Tailwind
colors: {
  custom: {
    50: '#71a276',
    500: '#317b41',
    950: '#000000',
  },
}
SCSS
$custom: #317b41;
$custom-light: #71a276;
$custom-dark: #000000;
JSON
{
  "hex": "#317b41",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 132.973,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.11593,
    "h": 148.2
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#317B41
secondary
#A95F99
accent
#55B8D3
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #317B41

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

Preview Lab → · Contrast checker → · Palette generator →

#317B41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva