#317B17#317B17

#317B17 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.150 H 139.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#317B17
RGBrgb(49, 123, 23)
HSLhsl(104, 68%, 29%)
HSVhsv(104, 81%, 48%)
CMYKcmyk(60.2%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.47, -41.32, 44.04)
CIE-LCHlch(45.47, 60.39, 133.18°)
OKLaboklab(51.63% -0.1138 0.0981)
OKLCHoklch(51.63% 0.15 139.2)
XYZxyz(8.5039, 14.8800, 3.2344)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B17 #61177B
analogous
#637B17 #317B17 #177B2F
triadic
#317B17 #17317B #7B1731
tetradic
#317B17 #17637B #61177B #7B2F17
square
#317B17 #17637B #61177B #7B2F17
split-complementary
#317B17 #2F177B #7B1763
monochromatic
#0A1A05 #1C470D #317B17 #46AF21 #5ED933

Accessibility & contrast

On white

5.28
#317B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#317B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B17
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B17#FFFFFF#000000##FFFFFF
##317B171.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#297768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b17;
/* rgb */ color: rgb(49, 123, 23);
/* oklch */ color: oklch(51.6% 0.150 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a25d',
    500: '#317b17',
    950: '#000000',
  },
}
SCSS
$custom: #317b17;
$custom-light: #73a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#317b17",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 104.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.15022,
    "h": 139.2
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#317B17
secondary
#923EB0
accent
#3CEBBE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317B17

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

Preview Lab → · Contrast checker → · Palette generator →

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