#316819#316819

#316819 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.125 H 138.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#316819
RGBrgb(49, 104, 25)
HSLhsl(102, 61%, 25%)
HSVhsv(102, 76%, 41%)
CMYKcmyk(52.9%, 0%, 76%, 59.2%)
CIE-LABlab(38.94, -33.47, 36.88)
CIE-LCHlch(38.94, 49.81, 132.22°)
OKLaboklab(46.25% -0.0925 0.0834)
OKLCHoklch(46.25% 0.125 138)
XYZxyz(6.3922, 10.6233, 2.6332)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316819 #501968
analogous
#586819 #316819 #196828
triadic
#316819 #193168 #681931
tetradic
#316819 #195868 #501968 #682819
square
#316819 #195868 #501968 #682819
split-complementary
#316819 #281968 #681958
monochromatic
#0C1906 #1A370D #316819 #489925 #5FCB31

Accessibility & contrast

On white

6.72
#316819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#316819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316819
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316819#FFFFFF#000000##FFFFFF
##3168191.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F0B
Deuteranopia (green-blind)
#645A21
Tritanopia (blue-blind)
#2D6459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316819;
/* rgb */ color: rgb(49, 104, 25);
/* oklch */ color: oklch(46.2% 0.125 138.0);
Tailwind
colors: {
  custom: {
    50: '#6f945b',
    500: '#316819',
    950: '#000000',
  },
}
SCSS
$custom: #316819;
$custom-light: #6f945b;
$custom-dark: #000000;
JSON
{
  "hex": "#316819",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 101.772,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46246,
    "c": 0.12457,
    "h": 138
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#316819
secondary
#813F9E
accent
#43E4B3
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316819

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

Preview Lab → · Contrast checker → · Palette generator →

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