#316722#316722

#316722 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.116 H 139.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#316722
RGBrgb(49, 103, 34)
HSLhsl(107, 50%, 27%)
HSVhsv(107, 67%, 40%)
CMYKcmyk(52.4%, 0%, 67%, 59.6%)
CIE-LABlab(38.67, -32.18, 32.56)
CIE-LCHlch(38.67, 45.78, 134.66°)
OKLaboklab(46.05% -0.0884 0.0756)
OKLCHoklch(46.05% 0.116 139.5)
XYZxyz(6.4054, 10.4685, 3.1962)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316722 #582267
analogous
#546722 #316722 #226736
triadic
#316722 #223167 #672231
tetradic
#316722 #225467 #582267 #673622
square
#316722 #225467 #582267 #673622
split-complementary
#316722 #362267 #672254
monochromatic
#0B1708 #1B3913 #316722 #479531 #5EC143

Accessibility & contrast

On white

6.79
#316722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#316722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316722
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316722#FFFFFF#000000##FFFFFF
##3167221.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#2C6459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316722;
/* rgb */ color: rgb(49, 103, 34);
/* oklch */ color: oklch(46.1% 0.116 139.5);
Tailwind
colors: {
  custom: {
    50: '#6e9360',
    500: '#316722',
    950: '#000000',
  },
}
SCSS
$custom: #316722;
$custom-light: #6e9360;
$custom-dark: #000000;
JSON
{
  "hex": "#316722",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 106.957,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.11626,
    "h": 139.5
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#316722
secondary
#894A9B
accent
#4EDABB
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #316722

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

Preview Lab → · Contrast checker → · Palette generator →

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