#317B2B#317B2B

#317B2B is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.137 H 142.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#317B2B
RGBrgb(49, 123, 43)
HSLhsl(116, 48%, 33%)
HSVhsv(116, 65%, 48%)
CMYKcmyk(60.2%, 0%, 65%, 51.8%)
CIE-LABlab(45.62, -39.55, 36.01)
CIE-LCHlch(45.62, 53.49, 137.68°)
OKLaboklab(51.8% -0.1078 0.0839)
OKLCHoklch(51.8% 0.137 142.1)
XYZxyz(8.7852, 14.9925, 4.7159)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B2B #752B7B
analogous
#597B2B #317B2B #2B7B4D
triadic
#317B2B #2B317B #7B2B31
tetradic
#317B2B #2B597B #752B7B #7B4D2B
square
#317B2B #2B597B #752B7B #7B4D2B
split-complementary
#317B2B #4D2B7B #7B2B59
monochromatic
#0D200B #1F4E1B #317B2B #43A83B #63C65B

Accessibility & contrast

On white

5.25
#317B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#317B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B2B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B2B#FFFFFF#000000##FFFFFF
##317B2B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#746A32
Tritanopia (blue-blind)
#26776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b2b;
/* rgb */ color: rgb(49, 123, 43);
/* oklch */ color: oklch(51.8% 0.137 142.1);
Tailwind
colors: {
  custom: {
    50: '#72a268',
    500: '#317b2b',
    950: '#000000',
  },
}
SCSS
$custom: #317b2b;
$custom-light: #72a268;
$custom-dark: #000000;
JSON
{
  "hex": "#317b2b",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 115.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.1366,
    "h": 142.1
  },
  "luminance": 0.14993
}

Semantic roles & 50–950 ramp

primary
#317B2B
secondary
#A556AB
accent
#50D8CE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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