#317520#317520

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

Color values

HEX#317520
RGBrgb(49, 117, 32)
HSLhsl(108, 57%, 29%)
HSVhsv(108, 73%, 46%)
CMYKcmyk(58.1%, 0%, 72.6%, 54.1%)
CIE-LABlab(43.48, -38.27, 38.64)
CIE-LCHlch(43.48, 54.38, 134.72°)
OKLaboklab(50% -0.105 0.0881)
OKLCHoklch(50% 0.137 140)
XYZxyz(7.8883, 13.4792, 3.5523)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317520 #642075
analogous
#5C7520 #317520 #20753A
triadic
#317520 #203175 #752031
tetradic
#317520 #205C75 #642075 #753A20
square
#317520 #205C75 #642075 #753A20
split-complementary
#317520 #3A2075 #75205C
monochromatic
#0A1807 #1D4513 #317520 #45A52D #5FCC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317520#FFFFFF#000000##FFFFFF
##3175201.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)
#786A13
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#297164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317520;
/* rgb */ color: rgb(49, 117, 32);
/* oklch */ color: oklch(50.0% 0.137 140.0);
Tailwind
colors: {
  custom: {
    50: '#719d61',
    500: '#317520',
    950: '#000000',
  },
}
SCSS
$custom: #317520;
$custom-light: #719d61;
$custom-dark: #000000;
JSON
{
  "hex": "#317520",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 108,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.13706,
    "h": 140
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#317520
secondary
#9548A8
accent
#47E0C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #317520

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

Preview Lab → · Contrast checker → · Palette generator →

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