#316E1F#316E1F

#316E1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.128 H 139.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#316E1F
RGBrgb(49, 110, 31)
HSLhsl(106, 56%, 28%)
HSVhsv(106, 72%, 43%)
CMYKcmyk(55.5%, 0%, 71.8%, 56.9%)
CIE-LABlab(41.06, -35.48, 36.53)
CIE-LCHlch(41.06, 50.93, 134.16°)
OKLaboklab(48.01% -0.0975 0.0835)
OKLCHoklch(48.01% 0.128 139.4)
XYZxyz(7.0896, 11.9032, 3.2200)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E1F #5C1F6E
analogous
#586E1F #316E1F #1F6E34
triadic
#316E1F #1F316E #6E1F31
tetradic
#316E1F #1F586E #5C1F6E #6E341F
square
#316E1F #1F586E #5C1F6E #6E341F
split-complementary
#316E1F #341F6E #6E1F58
monochromatic
#0B1807 #1C3E12 #316E1F #469E2C #5EC93F

Accessibility & contrast

On white

6.21
#316E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#316E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316E1F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316E1F#FFFFFF#000000##FFFFFF
##316E1F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#2B6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316e1f;
/* rgb */ color: rgb(49, 110, 31);
/* oklch */ color: oklch(48.0% 0.128 139.4);
Tailwind
colors: {
  custom: {
    50: '#70985f',
    500: '#316e1f',
    950: '#000000',
  },
}
SCSS
$custom: #316e1f;
$custom-light: #70985f;
$custom-dark: #000000;
JSON
{
  "hex": "#316e1f",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 106.329,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.12842,
    "h": 139.4
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#316E1F
secondary
#8D47A2
accent
#48DFBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #316E1F

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

Preview Lab → · Contrast checker → · Palette generator →

#316E1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva