#316F15#316F15

#316F15 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.136 H 138.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#316F15
RGBrgb(49, 111, 21)
HSLhsl(101, 68%, 26%)
HSVhsv(101, 81%, 44%)
CMYKcmyk(55.9%, 0%, 81.1%, 56.5%)
CIE-LABlab(41.34, -36.70, 40.77)
CIE-LCHlch(41.34, 54.86, 131.99°)
OKLaboklab(48.21% -0.1015 0.0909)
OKLCHoklch(48.21% 0.136 138.1)
XYZxyz(7.0862, 12.0754, 2.6667)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F15 #53156F
analogous
#5E6F15 #316F15 #156F26
triadic
#316F15 #15316F #6F1531
tetradic
#316F15 #155E6F #53156F #6F2615
square
#316F15 #155E6F #53156F #6F2615
split-complementary
#316F15 #26156F #6F155E
monochromatic
#0B1A05 #1A3C0B #316F15 #48A21F #5ED628

Accessibility & contrast

On white

6.15
#316F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#316F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F15
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F15#FFFFFF#000000##FFFFFF
##316F151.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#2C6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316f15;
/* rgb */ color: rgb(49, 111, 21);
/* oklch */ color: oklch(48.2% 0.136 138.1);
Tailwind
colors: {
  custom: {
    50: '#71995a',
    500: '#316f15',
    950: '#000000',
  },
}
SCSS
$custom: #316f15;
$custom-light: #71995a;
$custom-dark: #000000;
JSON
{
  "hex": "#316f15",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 101.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.13625,
    "h": 138.1
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#316F15
secondary
#843AA5
accent
#3DEBB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316F15

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

Preview Lab → · Contrast checker → · Palette generator →

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