#316918#316918

#316918 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.127 H 137.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#316918
RGBrgb(49, 105, 24)
HSLhsl(101, 63%, 25%)
HSVhsv(101, 77%, 41%)
CMYKcmyk(53.3%, 0%, 77.1%, 58.8%)
CIE-LABlab(39.28, -33.98, 37.63)
CIE-LCHlch(39.28, 50.70, 132.08°)
OKLaboklab(46.52% -0.094 0.0848)
OKLCHoklch(46.52% 0.127 137.9)
XYZxyz(6.4828, 10.8216, 2.6111)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316918 #501869
analogous
#5A6918 #316918 #186927
triadic
#316918 #183169 #691831
tetradic
#316918 #185A69 #501869 #692718
square
#316918 #185A69 #501869 #692718
split-complementary
#316918 #271869 #69185A
monochromatic
#0C1906 #1A370D #316918 #489B23 #5FCD2F

Accessibility & contrast

On white

6.64
#316918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#316918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316918
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316918#FFFFFF#000000##FFFFFF
##3169181.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F09
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#2D6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316918;
/* rgb */ color: rgb(49, 105, 24);
/* oklch */ color: oklch(46.5% 0.127 137.9);
Tailwind
colors: {
  custom: {
    50: '#6f945b',
    500: '#316918',
    950: '#000000',
  },
}
SCSS
$custom: #316918;
$custom-light: #6f945b;
$custom-dark: #000000;
JSON
{
  "hex": "#316918",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 101.481,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46523,
    "c": 0.12659,
    "h": 137.9
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#316918
secondary
#813E9F
accent
#42E6B3
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316918

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

Preview Lab → · Contrast checker → · Palette generator →

#316918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva