#316640#316640

#316640 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.3% C 0.084 H 151.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#316640
RGBrgb(49, 102, 64)
HSLhsl(137, 35%, 30%)
HSVhsv(137, 52%, 40%)
CMYKcmyk(52%, 0%, 37.3%, 60%)
CIE-LABlab(38.77, -27.06, 16.20)
CIE-LCHlch(38.77, 31.54, 149.09°)
OKLaboklab(46.28% -0.0736 0.0406)
OKLCHoklch(46.28% 0.084 151.1)
XYZxyz(6.9429, 10.5253, 6.5152)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316640 #663157
analogous
#3D6631 #316640 #31665B
triadic
#316640 #403166 #664031
tetradic
#316640 #313D66 #663157 #665B31
square
#316640 #313D66 #663157 #665B31
split-complementary
#316640 #5B3166 #66313D
monochromatic
#0A150D #1D3D26 #316640 #458F5A #5FB277

Accessibility & contrast

On white

6.76
#316640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#316640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316640
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316640#FFFFFF#000000##FFFFFF
##3166401.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3E
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#26655C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316640;
/* rgb */ color: rgb(49, 102, 64);
/* oklch */ color: oklch(46.3% 0.084 151.1);
Tailwind
colors: {
  custom: {
    50: '#6d9275',
    500: '#316640',
    950: '#000000',
  },
}
SCSS
$custom: #316640;
$custom-light: #6d9275;
$custom-dark: #000000;
JSON
{
  "hex": "#316640",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 64
  },
  "hsl": {
    "h": 136.981,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.08407,
    "h": 151.1
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#316640
secondary
#975C86
accent
#5DACCB
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #316640

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

Preview Lab → · Contrast checker → · Palette generator →

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