#317E1E#317E1E

#317E1E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.150 H 140.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#317E1E
RGBrgb(49, 126, 30)
HSLhsl(108, 62%, 31%)
HSVhsv(108, 76%, 49%)
CMYKcmyk(61.1%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.54, -41.98, 42.58)
CIE-LCHlch(46.54, 59.79, 134.59°)
OKLaboklab(52.52% -0.1151 0.0961)
OKLCHoklch(52.52% 0.15 140.2)
XYZxyz(8.9614, 15.6676, 3.7799)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E1E #6B1E7E
analogous
#617E1E #317E1E #1E7E3B
triadic
#317E1E #1E317E #7E1E31
tetradic
#317E1E #1E617E #6B1E7E #7E3B1E
square
#317E1E #1E617E #6B1E7E #7E3B1E
split-complementary
#317E1E #3B1E7E #7E1E61
monochromatic
#0B1B06 #1E4D12 #317E1E #44AF2A #60D244

Accessibility & contrast

On white

5.08
#317E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#317E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E1E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E1E#FFFFFF#000000##FFFFFF
##317E1E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#277A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e1e;
/* rgb */ color: rgb(49, 126, 30);
/* oklch */ color: oklch(52.5% 0.150 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a461',
    500: '#317e1e',
    950: '#000000',
  },
}
SCSS
$custom: #317e1e;
$custom-light: #73a461;
$custom-dark: #000000;
JSON
{
  "hex": "#317e1e",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 108.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.14995,
    "h": 140.2
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#317E1E
secondary
#9C47B1
accent
#43E5C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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