#317020#317020

#317020 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.6% C 0.130 H 139.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#317020
RGBrgb(49, 112, 32)
HSLhsl(107, 56%, 28%)
HSVhsv(107, 71%, 44%)
CMYKcmyk(56.3%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.76, -36.22, 36.83)
CIE-LCHlch(41.76, 51.66, 134.52°)
OKLaboklab(48.59% -0.0995 0.0843)
OKLCHoklch(48.59% 0.13 139.7)
XYZxyz(7.3212, 12.3450, 3.3632)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317020 #5F2070
analogous
#597020 #317020 #207037
triadic
#317020 #203170 #702031
tetradic
#317020 #205970 #5F2070 #703720
square
#317020 #205970 #5F2070 #703720
split-complementary
#317020 #372070 #702059
monochromatic
#0A1807 #1C4012 #317020 #46A02E #5EC942

Accessibility & contrast

On white

6.05
#317020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#317020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317020
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317020#FFFFFF#000000##FFFFFF
##3170201.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#2A6C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317020;
/* rgb */ color: rgb(49, 112, 32);
/* oklch */ color: oklch(48.6% 0.130 139.7);
Tailwind
colors: {
  custom: {
    50: '#709a60',
    500: '#317020',
    950: '#000000',
  },
}
SCSS
$custom: #317020;
$custom-light: #709a60;
$custom-dark: #000000;
JSON
{
  "hex": "#317020",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 107.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.13039,
    "h": 139.7
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#317020
secondary
#9048A4
accent
#49DFBF
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #317020

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

Preview Lab → · Contrast checker → · Palette generator →

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