#316336#316336

#316336 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.2% C 0.090 H 146.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#316336
RGBrgb(49, 99, 54)
HSLhsl(126, 34%, 29%)
HSVhsv(126, 51%, 39%)
CMYKcmyk(50.5%, 0%, 45.5%, 61.2%)
CIE-LABlab(37.56, -27.50, 20.47)
CIE-LCHlch(37.56, 34.29, 143.34°)
OKLaboklab(45.23% -0.0747 0.0504)
OKLCHoklch(45.23% 0.09 146)
XYZxyz(6.3940, 9.8425, 5.0522)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316336 #63315E
analogous
#456331 #316336 #31634F
triadic
#316336 #363163 #633631
tetradic
#316336 #314563 #63315E #634F31
square
#316336 #314563 #63315E #634F31
split-complementary
#316336 #4F3163 #633145
monochromatic
#0A140B #1D3A20 #316336 #458C4C #5FB067

Accessibility & contrast

On white

7.07
#316336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#316336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316336
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316336#FFFFFF#000000##FFFFFF
##3163361.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B33
Deuteranopia (green-blind)
#5D5739
Tritanopia (blue-blind)
#296158
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #316336;
/* rgb */ color: rgb(49, 99, 54);
/* oklch */ color: oklch(45.2% 0.090 146.0);
Tailwind
colors: {
  custom: {
    50: '#6d906d',
    500: '#316336',
    950: '#000000',
  },
}
SCSS
$custom: #316336;
$custom-light: #6d906d;
$custom-dark: #000000;
JSON
{
  "hex": "#316336",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 54
  },
  "hsl": {
    "h": 126,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.09012,
    "h": 146
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#316336
secondary
#945C8F
accent
#5EBFCA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #316336

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

Preview Lab → · Contrast checker → · Palette generator →

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