#317E1A#317E1A

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

Color values

HEX#317E1A
RGBrgb(49, 126, 26)
HSLhsl(106, 66%, 30%)
HSVhsv(106, 79%, 49%)
CMYKcmyk(61.1%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.51, -42.27, 44.02)
CIE-LCHlch(46.51, 61.03, 133.84°)
OKLaboklab(52.49% -0.1162 0.0985)
OKLCHoklch(52.49% 0.152 139.7)
XYZxyz(8.9135, 15.6485, 3.5278)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E1A #671A7E
analogous
#637E1A #317E1A #1A7E35
triadic
#317E1A #1A317E #7E1A31
tetradic
#317E1A #1A637E #671A7E #7E351A
square
#317E1A #1A637E #671A7E #7E351A
split-complementary
#317E1A #351A7E #7E1A63
monochromatic
#0A1905 #1D4B10 #317E1A #45B124 #5FD73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317E1A#FFFFFF#000000##FFFFFF
##317E1A1.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)
#827202
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#277A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e1a;
/* rgb */ color: rgb(49, 126, 26);
/* oklch */ color: oklch(52.5% 0.152 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a45f',
    500: '#317e1a',
    950: '#000000',
  },
}
SCSS
$custom: #317e1a;
$custom-light: #73a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#317e1a",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 106.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.1523,
    "h": 139.7
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#317E1A
secondary
#9842B2
accent
#3FE9C2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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