#317116#317116

#317116 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.138 H 138.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#317116
RGBrgb(49, 113, 22)
HSLhsl(102, 67%, 26%)
HSVhsv(102, 81%, 44%)
CMYKcmyk(56.6%, 0%, 80.5%, 55.7%)
CIE-LABlab(42.03, -37.44, 41.09)
CIE-LCHlch(42.03, 55.59, 132.34°)
OKLaboklab(48.79% -0.1034 0.0917)
OKLCHoklch(48.79% 0.138 138.4)
XYZxyz(7.3163, 12.5206, 2.7901)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317116 #561671
analogous
#5F7116 #317116 #167129
triadic
#317116 #163171 #711631
tetradic
#317116 #165F71 #561671 #712916
square
#317116 #165F71 #561671 #712916
split-complementary
#317116 #291671 #71165F
monochromatic
#0B1A05 #1B3E0C #317116 #47A420 #5ED62C

Accessibility & contrast

On white

5.99
#317116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#317116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317116
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317116#FFFFFF#000000##FFFFFF
##3171161.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756601
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#2B6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317116;
/* rgb */ color: rgb(49, 113, 22);
/* oklch */ color: oklch(48.8% 0.138 138.4);
Tailwind
colors: {
  custom: {
    50: '#719a5b',
    500: '#317116',
    950: '#000000',
  },
}
SCSS
$custom: #317116;
$custom-light: #719a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317116",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 102.198,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48787,
    "c": 0.13825,
    "h": 138.4
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#317116
secondary
#873CA7
accent
#3EEAB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317116

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

Preview Lab → · Contrast checker → · Palette generator →

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