#316626#316626

#316626 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.111 H 140.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#316626
RGBrgb(49, 102, 38)
HSLhsl(110, 46%, 27%)
HSVhsv(110, 63%, 40%)
CMYKcmyk(52%, 0%, 62.7%, 60%)
CIE-LABlab(38.37, -31.27, 30.24)
CIE-LCHlch(38.37, 43.50, 135.96°)
OKLaboklab(45.82% -0.0856 0.071)
OKLCHoklch(45.82% 0.111 140.3)
XYZxyz(6.3676, 10.2952, 3.4850)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316626 #5B2666
analogous
#516626 #316626 #26663B
triadic
#316626 #263166 #662631
tetradic
#316626 #265166 #5B2666 #663B26
square
#316626 #265166 #5B2666 #663B26
split-complementary
#316626 #3B2666 #662651
monochromatic
#0B1608 #1C3915 #316626 #469337 #5EBC4B

Accessibility & contrast

On white

6.86
#316626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#316626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316626
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316626#FFFFFF#000000##FFFFFF
##3166261.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1F
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#2C6358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #316626;
/* rgb */ color: rgb(49, 102, 38);
/* oklch */ color: oklch(45.8% 0.111 140.3);
Tailwind
colors: {
  custom: {
    50: '#6e9263',
    500: '#316626',
    950: '#000000',
  },
}
SCSS
$custom: #316626;
$custom-light: #6e9263;
$custom-dark: #000000;
JSON
{
  "hex": "#316626",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 38
  },
  "hsl": {
    "h": 109.688,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.11125,
    "h": 140.3
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#316626
secondary
#8C4F99
accent
#52D5BF
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #316626

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

Preview Lab → · Contrast checker → · Palette generator →

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