#317B1E#317B1E

#317B1E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.146 H 140.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#317B1E
RGBrgb(49, 123, 30)
HSLhsl(108, 61%, 30%)
HSVhsv(108, 76%, 48%)
CMYKcmyk(60.2%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.51, -40.82, 41.55)
CIE-LCHlch(45.51, 58.24, 134.49°)
OKLaboklab(51.68% -0.112 0.0939)
OKLCHoklch(51.68% 0.146 140)
XYZxyz(8.5835, 14.9119, 3.6540)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B1E #681E7B
analogous
#5F7B1E #317B1E #1E7B3A
triadic
#317B1E #1E317B #7B1E31
tetradic
#317B1E #1E5F7B #681E7B #7B3A1E
square
#317B1E #1E5F7B #681E7B #7B3A1E
split-complementary
#317B1E #3A1E7B #7B1E5F
monochromatic
#0A1906 #1D4A12 #317B1E #45AC2A #60D142

Accessibility & contrast

On white

5.27
#317B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317B1E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B1E#FFFFFF#000000##FFFFFF
##317B1E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#287769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b1e;
/* rgb */ color: rgb(49, 123, 30);
/* oklch */ color: oklch(51.7% 0.146 140.0);
Tailwind
colors: {
  custom: {
    50: '#72a260',
    500: '#317b1e',
    950: '#000000',
  },
}
SCSS
$custom: #317b1e;
$custom-light: #72a260;
$custom-dark: #000000;
JSON
{
  "hex": "#317b1e",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 107.742,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51677,
    "c": 0.14617,
    "h": 140
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#317B1E
secondary
#9946AE
accent
#44E4C3
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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