#316E18#316E18

#316E18 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.133 H 138.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#316E18
RGBrgb(49, 110, 24)
HSLhsl(103, 64%, 26%)
HSVhsv(103, 78%, 43%)
CMYKcmyk(55.5%, 0%, 78.2%, 56.9%)
CIE-LABlab(41.01, -36.07, 39.36)
CIE-LCHlch(41.01, 53.39, 132.51°)
OKLaboklab(47.95% -0.0996 0.0884)
OKLCHoklch(47.95% 0.133 138.4)
XYZxyz(7.0072, 11.8702, 2.7859)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E18 #55186E
analogous
#5C6E18 #316E18 #186E2A
triadic
#316E18 #18316E #6E1831
tetradic
#316E18 #185C6E #55186E #6E2A18
square
#316E18 #185C6E #55186E #6E2A18
split-complementary
#316E18 #2A186E #6E185C
monochromatic
#0B1905 #1B3C0D #316E18 #47A023 #5ED22F

Accessibility & contrast

On white

6.22
#316E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#316E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316E18
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316E18#FFFFFF#000000##FFFFFF
##316E181.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#2C6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316e18;
/* rgb */ color: rgb(49, 110, 24);
/* oklch */ color: oklch(47.9% 0.133 138.4);
Tailwind
colors: {
  custom: {
    50: '#70985c',
    500: '#316e18',
    950: '#000000',
  },
}
SCSS
$custom: #316e18;
$custom-light: #70985c;
$custom-dark: #000000;
JSON
{
  "hex": "#316e18",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 102.558,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.1332,
    "h": 138.4
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#316E18
secondary
#863EA4
accent
#41E7B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316E18

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

Preview Lab → · Contrast checker → · Palette generator →

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