#317017#317017

#317017 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.136 H 138.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#317017
RGBrgb(49, 112, 23)
HSLhsl(102, 66%, 26%)
HSVhsv(102, 79%, 44%)
CMYKcmyk(56.3%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.69, -36.97, 40.40)
CIE-LCHlch(41.69, 54.76, 132.46°)
OKLaboklab(48.51% -0.1021 0.0905)
OKLCHoklch(48.51% 0.136 138.5)
XYZxyz(7.2152, 12.3026, 2.8049)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317017 #561770
analogous
#5E7017 #317017 #17702A
triadic
#317017 #173170 #701731
tetradic
#317017 #175E70 #561770 #702A17
square
#317017 #175E70 #561770 #702A17
split-complementary
#317017 #2A1770 #70175E
monochromatic
#0B1905 #1B3D0D #317017 #47A321 #5ED42D

Accessibility & contrast

On white

6.07
#317017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#317017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317017
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317017#FFFFFF#000000##FFFFFF
##3170171.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6C6021
Tritanopia (blue-blind)
#2B6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317017;
/* rgb */ color: rgb(49, 112, 23);
/* oklch */ color: oklch(48.5% 0.136 138.5);
Tailwind
colors: {
  custom: {
    50: '#719a5b',
    500: '#317017',
    950: '#000000',
  },
}
SCSS
$custom: #317017;
$custom-light: #719a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317017",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 102.472,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.13639,
    "h": 138.5
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#317017
secondary
#873DA6
accent
#3FE9B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317017

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

Preview Lab → · Contrast checker → · Palette generator →

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