#317E15#317E15

#317E15 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#317E15
RGBrgb(49, 126, 21)
HSLhsl(104, 71%, 29%)
HSVhsv(104, 83%, 49%)
CMYKcmyk(61.1%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.48, -42.59, 45.63)
CIE-LCHlch(46.48, 62.42, 133.03°)
OKLaboklab(52.46% -0.1173 0.1011)
OKLCHoklch(52.46% 0.155 139.2)
XYZxyz(8.8625, 15.6280, 3.2588)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E15 #62157E
analogous
#667E15 #317E15 #157E2E
triadic
#317E15 #15317E #7E1531
tetradic
#317E15 #15667E #62157E #7E2E15
square
#317E15 #15667E #62157E #7E2E15
split-complementary
#317E15 #2E157E #7E1566
monochromatic
#0A1A04 #1D4A0C #317E15 #45B21E #5FDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317E15#FFFFFF#000000##FFFFFF
##317E151.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317e15;
/* rgb */ color: rgb(49, 126, 21);
/* oklch */ color: oklch(52.5% 0.155 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a45d',
    500: '#317e15',
    950: '#000000',
  },
}
SCSS
$custom: #317e15;
$custom-light: #73a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#317e15",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 104,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.15487,
    "h": 139.2
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#317E15
secondary
#933CB3
accent
#3AEEBE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E15

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

Preview Lab → · Contrast checker → · Palette generator →

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