#317522#317522

#317522 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.136 H 140.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#317522
RGBrgb(49, 117, 34)
HSLhsl(109, 55%, 30%)
HSVhsv(109, 71%, 46%)
CMYKcmyk(58.1%, 0%, 70.9%, 54.1%)
CIE-LABlab(43.49, -38.08, 37.80)
CIE-LCHlch(43.49, 53.65, 135.22°)
OKLaboklab(50.02% -0.1044 0.0866)
OKLCHoklch(50.02% 0.136 140.3)
XYZxyz(7.9163, 13.4904, 3.6998)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317522 #662275
analogous
#5A7522 #317522 #22753D
triadic
#317522 #223175 #752231
tetradic
#317522 #225A75 #662275 #753D22
square
#317522 #225A75 #662275 #753D22
split-complementary
#317522 #3D2275 #75225A
monochromatic
#0A1807 #1D4614 #317522 #45A430 #5FCA48

Accessibility & contrast

On white

5.68
#317522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#317522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317522
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317522#FFFFFF#000000##FFFFFF
##3175221.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#297164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317522;
/* rgb */ color: rgb(49, 117, 34);
/* oklch */ color: oklch(50.0% 0.136 140.3);
Tailwind
colors: {
  custom: {
    50: '#719d62',
    500: '#317522',
    950: '#000000',
  },
}
SCSS
$custom: #317522;
$custom-light: #719d62;
$custom-dark: #000000;
JSON
{
  "hex": "#317522",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 109.157,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.13561,
    "h": 140.3
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#317522
secondary
#974BA8
accent
#49DEC3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #317522

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

Preview Lab → · Contrast checker → · Palette generator →

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