#316E1A#316E1A

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

Color values

HEX#316E1A
RGBrgb(49, 110, 26)
HSLhsl(104, 62%, 27%)
HSVhsv(104, 76%, 43%)
CMYKcmyk(55.5%, 0%, 76.4%, 56.9%)
CIE-LABlab(41.02, -35.92, 38.59)
CIE-LCHlch(41.02, 52.72, 132.95°)
OKLaboklab(47.96% -0.0991 0.0871)
OKLCHoklch(47.96% 0.132 138.7)
XYZxyz(7.0287, 11.8789, 2.8995)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E1A #571A6E
analogous
#5B6E1A #316E1A #1A6E2D
triadic
#316E1A #1A316E #6E1A31
tetradic
#316E1A #1A5B6E #571A6E #6E2D1A
square
#316E1A #1A5B6E #571A6E #6E2D1A
split-complementary
#316E1A #2D1A6E #6E1A5B
monochromatic
#0B1906 #1B3D0E #316E1A #47A026 #5ECF34

Accessibility & contrast

On white

6.22
#316E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316E1A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316E1A#FFFFFF#000000##FFFFFF
##316E1A1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640B
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#2C6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316e1a;
/* rgb */ color: rgb(49, 110, 26);
/* oklch */ color: oklch(48.0% 0.132 138.7);
Tailwind
colors: {
  custom: {
    50: '#70985d',
    500: '#316e1a',
    950: '#000000',
  },
}
SCSS
$custom: #316e1a;
$custom-light: #70985d;
$custom-dark: #000000;
JSON
{
  "hex": "#316e1a",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 103.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.13193,
    "h": 138.7
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#316E1A
secondary
#8841A3
accent
#43E5B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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