#317217#317217

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

Color values

HEX#317217
RGBrgb(49, 114, 23)
HSLhsl(103, 66%, 27%)
HSVhsv(103, 80%, 45%)
CMYKcmyk(57%, 0%, 79.8%, 55.3%)
CIE-LABlab(42.38, -37.78, 41.07)
CIE-LCHlch(42.38, 55.81, 132.61°)
OKLaboklab(49.08% -0.1043 0.0919)
OKLCHoklch(49.08% 0.139 138.6)
XYZxyz(7.4383, 12.7489, 2.8793)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317217 #581772
analogous
#5F7217 #317217 #17722B
triadic
#317217 #173172 #721731
tetradic
#317217 #175F72 #581772 #722B17
square
#317217 #175F72 #581772 #722B17
split-complementary
#317217 #2B1772 #72175F
monochromatic
#0B1905 #1B3F0D #317217 #47A521 #5ED52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317217#FFFFFF#000000##FFFFFF
##3172171.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)
#766703
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#2B6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317217;
/* rgb */ color: rgb(49, 114, 23);
/* oklch */ color: oklch(49.1% 0.139 138.6);
Tailwind
colors: {
  custom: {
    50: '#719b5c',
    500: '#317217',
    950: '#000000',
  },
}
SCSS
$custom: #317217;
$custom-light: #719b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317217",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 102.857,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.13896,
    "h": 138.6
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#317217
secondary
#893DA8
accent
#3EE9B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317217

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

Preview Lab → · Contrast checker → · Palette generator →

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