#316620#316620

#316620 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.117 H 139.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#316620
RGBrgb(49, 102, 32)
HSLhsl(105, 52%, 26%)
HSVhsv(105, 69%, 40%)
CMYKcmyk(52%, 0%, 68.6%, 60%)
CIE-LABlab(38.30, -31.95, 33.12)
CIE-LCHlch(38.30, 46.02, 133.97°)
OKLaboklab(45.74% -0.0879 0.0765)
OKLCHoklch(45.74% 0.117 139)
XYZxyz(6.2785, 10.2595, 3.0157)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316620 #552066
analogous
#546620 #316620 #206632
triadic
#316620 #203166 #662031
tetradic
#316620 #205466 #552066 #663220
square
#316620 #205466 #552066 #663220
split-complementary
#316620 #322066 #662054
monochromatic
#0B1707 #1B3711 #316620 #47952F #5EC23E

Accessibility & contrast

On white

6.88
#316620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#316620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316620
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316620#FFFFFF#000000##FFFFFF
##3166201.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D17
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#2D6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #316620;
/* rgb */ color: rgb(49, 102, 32);
/* oklch */ color: oklch(45.7% 0.117 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e925f',
    500: '#316620',
    950: '#000000',
  },
}
SCSS
$custom: #316620;
$custom-light: #6e925f;
$custom-dark: #000000;
JSON
{
  "hex": "#316620",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 32
  },
  "hsl": {
    "h": 105.429,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45744,
    "c": 0.11651,
    "h": 139
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#316620
secondary
#86489A
accent
#4CDCB9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #316620

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

Preview Lab → · Contrast checker → · Palette generator →

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