#316F2F#316F2F

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

Color values

HEX#316F2F
RGBrgb(49, 111, 47)
HSLhsl(118, 41%, 31%)
HSVhsv(118, 58%, 44%)
CMYKcmyk(55.9%, 0%, 57.7%, 56.5%)
CIE-LABlab(41.57, -34.05, 29.33)
CIE-LCHlch(41.57, 44.94, 139.26°)
OKLaboklab(48.48% -0.0927 0.0699)
OKLCHoklch(48.48% 0.116 143)
XYZxyz(7.4638, 12.2265, 4.6554)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F2F #6D2F6F
analogous
#516F2F #316F2F #2F6F4D
triadic
#316F2F #2F316F #6F2F31
tetradic
#316F2F #2F516F #6D2F6F #6F4D2F
square
#316F2F #2F516F #6D2F6F #6F4D2F
split-complementary
#316F2F #4D2F6F #6F2F51
monochromatic
#0B190B #1E441D #316F2F #449A41 #61BB5E

Accessibility & contrast

On white

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

On black

3.45
#316F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##316F2F#FFFFFF#000000##FFFFFF
##316F2F1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#286C61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #316f2f;
/* rgb */ color: rgb(49, 111, 47);
/* oklch */ color: oklch(48.5% 0.116 143.0);
Tailwind
colors: {
  custom: {
    50: '#6f9969',
    500: '#316f2f',
    950: '#000000',
  },
}
SCSS
$custom: #316f2f;
$custom-light: #6f9969;
$custom-dark: #000000;
JSON
{
  "hex": "#316f2f",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 118.125,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48484,
    "c": 0.11605,
    "h": 143
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#316F2F
secondary
#9E59A0
accent
#57D0CD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #316F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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