#316F18#316F18

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

Color values

HEX#316F18
RGBrgb(49, 111, 24)
HSLhsl(103, 64%, 26%)
HSVhsv(103, 78%, 44%)
CMYKcmyk(55.9%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.35, -36.49, 39.70)
CIE-LCHlch(41.35, 53.92, 132.58°)
OKLaboklab(48.23% -0.1007 0.0891)
OKLCHoklch(48.23% 0.135 138.5)
XYZxyz(7.1157, 12.0872, 2.8221)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F18 #56186F
analogous
#5D6F18 #316F18 #186F2B
triadic
#316F18 #18316F #6F1831
tetradic
#316F18 #185D6F #56186F #6F2B18
square
#316F18 #185D6F #56186F #6F2B18
split-complementary
#316F18 #2B186F #6F185D
monochromatic
#0B1905 #1B3D0D #316F18 #47A123 #5ED22F

Accessibility & contrast

On white

6.14
#316F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316F18
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F18#FFFFFF#000000##FFFFFF
##316F181.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#2C6B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #316f18;
/* rgb */ color: rgb(49, 111, 24);
/* oklch */ color: oklch(48.2% 0.135 138.5);
Tailwind
colors: {
  custom: {
    50: '#70995c',
    500: '#316f18',
    950: '#000000',
  },
}
SCSS
$custom: #316f18;
$custom-light: #70995c;
$custom-dark: #000000;
JSON
{
  "hex": "#316f18",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 102.759,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.1345,
    "h": 138.5
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#316F18
secondary
#873EA5
accent
#40E7B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316F18

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

Preview Lab → · Contrast checker → · Palette generator →

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