#317E14#317E14

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

Color values

HEX#317E14
RGBrgb(49, 126, 20)
HSLhsl(104, 73%, 29%)
HSVhsv(104, 84%, 49%)
CMYKcmyk(61.1%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.48, -42.65, 45.93)
CIE-LCHlch(46.48, 62.68, 132.88°)
OKLaboklab(52.46% -0.1175 0.1016)
OKLCHoklch(52.46% 0.155 139.2)
XYZxyz(8.8534, 15.6244, 3.2109)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E14 #61147E
analogous
#667E14 #317E14 #147E2C
triadic
#317E14 #14317E #7E1431
tetradic
#317E14 #14667E #61147E #7E2C14
square
#317E14 #14667E #61147E #7E2C14
split-complementary
#317E14 #2C147E #7E1466
monochromatic
#0A1A04 #1C490C #317E14 #46B31C #5EDE2E

Accessibility & contrast

On white

5.09
#317E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#317E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E14
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E14#FFFFFF#000000##FFFFFF
##317E141.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#28796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e14;
/* rgb */ color: rgb(49, 126, 20);
/* oklch */ color: oklch(52.5% 0.155 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a45c',
    500: '#317e14',
    950: '#000000',
  },
}
SCSS
$custom: #317e14;
$custom-light: #73a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#317e14",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 103.585,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.15532,
    "h": 139.2
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#317E14
secondary
#923AB3
accent
#38EFBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317E14

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

Preview Lab → · Contrast checker → · Palette generator →

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