#316331#316331

#316331 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.096 H 143.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#316331
RGBrgb(49, 99, 49)
HSLhsl(120, 34%, 29%)
HSVhsv(120, 51%, 39%)
CMYKcmyk(50.5%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.48, -28.34, 23.23)
CIE-LCHlch(37.48, 36.65, 140.66°)
OKLaboklab(45.13% -0.0771 0.0565)
OKLCHoklch(45.13% 0.096 143.8)
XYZxyz(6.2825, 9.7979, 4.4653)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316331 #633163
analogous
#4A6331 #316331 #31634A
triadic
#316331 #313163 #633131
tetradic
#316331 #314A63 #633163 #634A31
square
#316331 #314A63 #633163 #634A31
split-complementary
#316331 #4A3163 #63314A
monochromatic
#0A140A #1D3A1D #316331 #458C45 #5FB05F

Accessibility & contrast

On white

7.10
#316331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#316331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316331
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316331#FFFFFF#000000##FFFFFF
##3163311.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2D
Deuteranopia (green-blind)
#5E5634
Tritanopia (blue-blind)
#2A6157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #316331;
/* rgb */ color: rgb(49, 99, 49);
/* oklch */ color: oklch(45.1% 0.096 143.8);
Tailwind
colors: {
  custom: {
    50: '#6d906a',
    500: '#316331',
    950: '#000000',
  },
}
SCSS
$custom: #316331;
$custom-light: #6d906a;
$custom-dark: #000000;
JSON
{
  "hex": "#316331",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45134,
    "c": 0.09557,
    "h": 143.8
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#316331
secondary
#945C94
accent
#5ECACA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #316331

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

Preview Lab → · Contrast checker → · Palette generator →

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