#316F2D#316F2D

#316F2D is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.5% C 0.118 H 142.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#316F2D
RGBrgb(49, 111, 45)
HSLhsl(116, 42%, 31%)
HSVhsv(116, 59%, 44%)
CMYKcmyk(55.9%, 0%, 59.5%, 56.5%)
CIE-LABlab(41.55, -34.32, 30.34)
CIE-LCHlch(41.55, 45.81, 138.52°)
OKLaboklab(48.46% -0.0935 0.0719)
OKLCHoklch(48.46% 0.118 142.4)
XYZxyz(7.4243, 12.2107, 4.4478)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F2D #6B2D6F
analogous
#526F2D #316F2D #2D6F4A
triadic
#316F2D #2D316F #6F2D31
tetradic
#316F2D #2D526F #6B2D6F #6F4A2D
square
#316F2D #2D526F #6B2D6F #6F4A2D
split-complementary
#316F2D #4A2D6F #6F2D52
monochromatic
#0B180A #1E431B #316F2D #449B3F #60BC5A

Accessibility & contrast

On white

6.10
#316F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#316F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F2D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F2D#FFFFFF#000000##FFFFFF
##316F2D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #316f2d;
/* rgb */ color: rgb(49, 111, 45);
/* oklch */ color: oklch(48.5% 0.118 142.4);
Tailwind
colors: {
  custom: {
    50: '#6f9968',
    500: '#316f2d',
    950: '#000000',
  },
}
SCSS
$custom: #316f2d;
$custom-light: #6f9968;
$custom-dark: #000000;
JSON
{
  "hex": "#316f2d",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 116.364,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48456,
    "c": 0.11795,
    "h": 142.4
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#316F2D
secondary
#9C57A1
accent
#56D2CB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #316F2D

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

Preview Lab → · Contrast checker → · Palette generator →

#316F2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva