#317A22#317A22

#317A22 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.142 H 140.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#317A22
RGBrgb(49, 122, 34)
HSLhsl(110, 56%, 31%)
HSVhsv(110, 72%, 48%)
CMYKcmyk(59.8%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.20, -40.08, 39.60)
CIE-LCHlch(45.20, 56.34, 135.35°)
OKLaboklab(51.43% -0.1098 0.0904)
OKLCHoklch(51.43% 0.142 140.5)
XYZxyz(8.5145, 14.6868, 3.8992)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A22 #6B227A
analogous
#5D7A22 #317A22 #227A3F
triadic
#317A22 #22317A #7A2231
tetradic
#317A22 #225D7A #6B227A #7A3F22
square
#317A22 #225D7A #6B227A #7A3F22
split-complementary
#317A22 #3F227A #7A225D
monochromatic
#0B1A07 #1E4A15 #317A22 #44AA2F #60CD4A

Accessibility & contrast

On white

5.33
#317A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#317A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A22
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A22#FFFFFF#000000##FFFFFF
##317A221.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#287668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a22;
/* rgb */ color: rgb(49, 122, 34);
/* oklch */ color: oklch(51.4% 0.142 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a162',
    500: '#317a22',
    950: '#000000',
  },
}
SCSS
$custom: #317a22;
$custom-light: #72a162;
$custom-dark: #000000;
JSON
{
  "hex": "#317a22",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 109.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.14219,
    "h": 140.5
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#317A22
secondary
#9C4BAD
accent
#48E0C6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #317A22

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

Preview Lab → · Contrast checker → · Palette generator →

#317A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva