#317218#317218

#317218 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.138 H 138.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#317218
RGBrgb(49, 114, 24)
HSLhsl(103, 65%, 27%)
HSVhsv(103, 79%, 45%)
CMYKcmyk(57%, 0%, 78.9%, 55.3%)
CIE-LABlab(42.39, -37.71, 40.72)
CIE-LCHlch(42.39, 55.50, 132.80°)
OKLaboklab(49.09% -0.104 0.0913)
OKLCHoklch(49.09% 0.138 138.7)
XYZxyz(7.4485, 12.7529, 2.9330)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317218 #591872
analogous
#5E7218 #317218 #18722C
triadic
#317218 #183172 #721831
tetradic
#317218 #185E72 #591872 #722C18
square
#317218 #185E72 #591872 #722C18
split-complementary
#317218 #2C1872 #72185E
monochromatic
#0B1905 #1B3F0D #317218 #47A523 #5ED431

Accessibility & contrast

On white

5.91
#317218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317218
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317218#FFFFFF#000000##FFFFFF
##3172181.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317218;
/* rgb */ color: rgb(49, 114, 24);
/* oklch */ color: oklch(49.1% 0.138 138.7);
Tailwind
colors: {
  custom: {
    50: '#719b5c',
    500: '#317218',
    950: '#000000',
  },
}
SCSS
$custom: #317218;
$custom-light: #719b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317218",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 103.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.13838,
    "h": 138.7
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#317218
secondary
#8A3EA7
accent
#40E8B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317218

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

Preview Lab → · Contrast checker → · Palette generator →

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