#317D2E#317D2E

#317D2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.137 H 142.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#317D2E
RGBrgb(49, 125, 46)
HSLhsl(118, 46%, 34%)
HSVhsv(118, 63%, 49%)
CMYKcmyk(60.8%, 0%, 63.2%, 51%)
CIE-LABlab(46.33, -40.00, 35.38)
CIE-LCHlch(46.33, 53.40, 138.51°)
OKLaboklab(52.4% -0.1088 0.0829)
OKLCHoklch(52.4% 0.137 142.7)
XYZxyz(9.0929, 15.5166, 5.1001)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D2E #7A2E7D
analogous
#587D2E #317D2E #2E7D52
triadic
#317D2E #2E317D #7D2E31
tetradic
#317D2E #2E587D #7A2E7D #7D522E
square
#317D2E #2E587D #7A2E7D #7D522E
split-complementary
#317D2E #522E7D #7D2E58
monochromatic
#0E240D #1F501E #317D2E #43AA3E #64C561

Accessibility & contrast

On white

5.12
#317D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#317D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D2E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D2E#FFFFFF#000000##FFFFFF
##317D2E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#24796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d2e;
/* rgb */ color: rgb(49, 125, 46);
/* oklch */ color: oklch(52.4% 0.137 142.7);
Tailwind
colors: {
  custom: {
    50: '#72a36a',
    500: '#317d2e',
    950: '#000000',
  },
}
SCSS
$custom: #317d2e;
$custom-light: #72a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#317d2e",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 117.722,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.1368,
    "h": 142.7
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#317D2E
secondary
#A85BAB
accent
#52D6D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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