#316F22#316F22

#316F22 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.128 H 140.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#316F22
RGBrgb(49, 111, 34)
HSLhsl(108, 53%, 28%)
HSVhsv(108, 69%, 44%)
CMYKcmyk(55.9%, 0%, 69.4%, 56.5%)
CIE-LABlab(41.43, -35.61, 35.59)
CIE-LCHlch(41.43, 50.34, 135.02°)
OKLaboklab(48.32% -0.0977 0.082)
OKLCHoklch(48.32% 0.128 140)
XYZxyz(7.2395, 12.1368, 3.4742)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F22 #60226F
analogous
#576F22 #316F22 #226F39
triadic
#316F22 #22316F #6F2231
tetradic
#316F22 #22576F #60226F #6F3922
square
#316F22 #22576F #60226F #6F3922
split-complementary
#316F22 #39226F #6F2257
monochromatic
#0A1707 #1C4014 #316F22 #469E30 #5EC645

Accessibility & contrast

On white

6.13
#316F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#316F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F22
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F22#FFFFFF#000000##FFFFFF
##316F221.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#2A6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #316f22;
/* rgb */ color: rgb(49, 111, 34);
/* oklch */ color: oklch(48.3% 0.128 140.0);
Tailwind
colors: {
  custom: {
    50: '#709961',
    500: '#316f22',
    950: '#000000',
  },
}
SCSS
$custom: #316f22;
$custom-light: #709961;
$custom-dark: #000000;
JSON
{
  "hex": "#316f22",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 108.312,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.1275,
    "h": 140
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#316F22
secondary
#914AA2
accent
#4BDDC0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #316F22

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

Preview Lab → · Contrast checker → · Palette generator →

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