#316E1B#316E1B

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

Color values

HEX#316E1B
RGBrgb(49, 110, 27)
HSLhsl(104, 61%, 27%)
HSVhsv(104, 75%, 43%)
CMYKcmyk(55.5%, 0%, 75.5%, 56.9%)
CIE-LABlab(41.03, -35.84, 38.20)
CIE-LCHlch(41.03, 52.38, 133.18°)
OKLaboklab(47.97% -0.0988 0.0865)
OKLCHoklch(47.97% 0.131 138.8)
XYZxyz(7.0401, 11.8834, 2.9594)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E1B #581B6E
analogous
#5B6E1B #316E1B #1B6E2E
triadic
#316E1B #1B316E #6E1B31
tetradic
#316E1B #1B5B6E #581B6E #6E2E1B
square
#316E1B #1B5B6E #581B6E #6E2E1B
split-complementary
#316E1B #2E1B6E #6E1B5B
monochromatic
#0B1906 #1B3D0F #316E1B #479F27 #5ECE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316E1B#FFFFFF#000000##FFFFFF
##316E1B1.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)
#71640D
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#2B6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316e1b;
/* rgb */ color: rgb(49, 110, 27);
/* oklch */ color: oklch(48.0% 0.131 138.8);
Tailwind
colors: {
  custom: {
    50: '#70985d',
    500: '#316e1b',
    950: '#000000',
  },
}
SCSS
$custom: #316e1b;
$custom-light: #70985d;
$custom-dark: #000000;
JSON
{
  "hex": "#316e1b",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 104.096,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.13126,
    "h": 138.8
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#316E1B
secondary
#8942A3
accent
#44E4B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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