#316232#316232

#316232 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.093 H 144.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#316232
RGBrgb(49, 98, 50)
HSLhsl(121, 33%, 29%)
HSVhsv(121, 50%, 38%)
CMYKcmyk(50%, 0%, 49%, 61.6%)
CIE-LABlab(37.15, -27.71, 22.25)
CIE-LCHlch(37.15, 35.54, 141.23°)
OKLaboklab(44.87% -0.0754 0.0543)
OKLCHoklch(44.87% 0.093 144.2)
XYZxyz(6.2097, 9.6182, 4.5463)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316232 #623161
analogous
#496231 #316232 #31624B
triadic
#316232 #323162 #623231
tetradic
#316232 #314962 #623161 #624B31
square
#316232 #314962 #623161 #624B31
split-complementary
#316232 #4B3162 #623149
monochromatic
#0A140A #1D391D #316232 #458B47 #5FAF60

Accessibility & contrast

On white

7.18
#316232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#316232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316232
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316232#FFFFFF#000000##FFFFFF
##3162321.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2E
Deuteranopia (green-blind)
#5D5635
Tritanopia (blue-blind)
#2A6057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #316232;
/* rgb */ color: rgb(49, 98, 50);
/* oklch */ color: oklch(44.9% 0.093 144.2);
Tailwind
colors: {
  custom: {
    50: '#6d8f6b',
    500: '#316232',
    950: '#000000',
  },
}
SCSS
$custom: #316232;
$custom-light: #6d8f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#316232",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 121.224,
    "s": 33.333,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.09287,
    "h": 144.2
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#316232
secondary
#935C92
accent
#5EC7C9
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #316232

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

Preview Lab → · Contrast checker → · Palette generator →

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