#316237#316237

#316237 is a dark, moderate green. Relative luminance 0.097; OKLCH L 45.0% C 0.087 H 146.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#316237
RGBrgb(49, 98, 55)
HSLhsl(127, 33%, 29%)
HSVhsv(127, 50%, 38%)
CMYKcmyk(50%, 0%, 43.9%, 61.6%)
CIE-LABlab(37.23, -26.85, 19.47)
CIE-LCHlch(37.23, 33.16, 144.05°)
OKLaboklab(44.97% -0.0729 0.0481)
OKLCHoklch(44.97% 0.087 146.6)
XYZxyz(6.3235, 9.6637, 5.1458)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316237 #62315C
analogous
#446231 #316237 #316250
triadic
#316237 #373162 #623731
tetradic
#316237 #314462 #62315C #625031
square
#316237 #314462 #62315C #625031
split-complementary
#316237 #503162 #623144
monochromatic
#0A140B #1D3920 #316237 #458B4E #5FAF68

Accessibility & contrast

On white

7.16
#316237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#316237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316237
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316237#FFFFFF#000000##FFFFFF
##3162371.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A34
Deuteranopia (green-blind)
#5C563A
Tritanopia (blue-blind)
#296057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #316237;
/* rgb */ color: rgb(49, 98, 55);
/* oklch */ color: oklch(45.0% 0.087 146.6);
Tailwind
colors: {
  custom: {
    50: '#6d8f6e',
    500: '#316237',
    950: '#000000',
  },
}
SCSS
$custom: #316237;
$custom-light: #6d8f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#316237",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 127.347,
    "s": 33.333,
    "l": 28.824
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.08737,
    "h": 146.6
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#316237
secondary
#935C8C
accent
#5EBCC9
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #316237

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

Preview Lab → · Contrast checker → · Palette generator →

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