#316E17#316E17

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

Color values

HEX#316E17
RGBrgb(49, 110, 23)
HSLhsl(102, 65%, 26%)
HSVhsv(102, 79%, 43%)
CMYKcmyk(55.5%, 0%, 79.1%, 56.9%)
CIE-LABlab(41.00, -36.15, 39.73)
CIE-LCHlch(41.00, 53.71, 132.30°)
OKLaboklab(47.94% -0.0999 0.0891)
OKLCHoklch(47.94% 0.134 138.3)
XYZxyz(6.9970, 11.8661, 2.7321)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E17 #54176E
analogous
#5C6E17 #316E17 #176E28
triadic
#316E17 #17316E #6E1731
tetradic
#316E17 #175C6E #54176E #6E2817
square
#316E17 #175C6E #54176E #6E2817
split-complementary
#316E17 #28176E #6E175C
monochromatic
#0B1905 #1A3B0C #316E17 #48A122 #5ED32C

Accessibility & contrast

On white

6.23
#316E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316E17
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316E17#FFFFFF#000000##FFFFFF
##316E171.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#2C6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316e17;
/* rgb */ color: rgb(49, 110, 23);
/* oklch */ color: oklch(47.9% 0.134 138.3);
Tailwind
colors: {
  custom: {
    50: '#70985b',
    500: '#316e17',
    950: '#000000',
  },
}
SCSS
$custom: #316e17;
$custom-light: #70985b;
$custom-dark: #000000;
JSON
{
  "hex": "#316e17",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 102.069,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.13381,
    "h": 138.3
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#316E17
secondary
#853DA4
accent
#3FE8B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316E17

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

Preview Lab → · Contrast checker → · Palette generator →

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