#317216#317216

#317216 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.140 H 138.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#317216
RGBrgb(49, 114, 22)
HSLhsl(102, 68%, 27%)
HSVhsv(102, 81%, 45%)
CMYKcmyk(57%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.38, -37.85, 41.42)
CIE-LCHlch(42.38, 56.11, 132.42°)
OKLaboklab(49.07% -0.1045 0.0924)
OKLCHoklch(49.07% 0.14 138.5)
XYZxyz(7.4285, 12.7449, 2.8275)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317216 #571672
analogous
#5F7216 #317216 #167229
triadic
#317216 #163172 #721631
tetradic
#317216 #165F72 #571672 #722916
square
#317216 #165F72 #571672 #722916
split-complementary
#317216 #291672 #72165F
monochromatic
#0B1A05 #1B3F0C #317216 #47A520 #5ED62C

Accessibility & contrast

On white

5.92
#317216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#317216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317216
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317216#FFFFFF#000000##FFFFFF
##3172161.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#2B6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317216;
/* rgb */ color: rgb(49, 114, 22);
/* oklch */ color: oklch(49.1% 0.140 138.5);
Tailwind
colors: {
  custom: {
    50: '#719b5b',
    500: '#317216',
    950: '#000000',
  },
}
SCSS
$custom: #317216;
$custom-light: #719b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317216",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 102.391,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.13953,
    "h": 138.5
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#317216
secondary
#883CA8
accent
#3DEBB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317216

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

Preview Lab → · Contrast checker → · Palette generator →

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