#317A15#317A15

#317A15 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.150 H 139.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#317A15
RGBrgb(49, 122, 21)
HSLhsl(103, 71%, 28%)
HSVhsv(103, 83%, 48%)
CMYKcmyk(59.8%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.12, -41.06, 44.36)
CIE-LCHlch(45.12, 60.45, 132.79°)
OKLaboklab(51.33% -0.1132 0.0984)
OKLCHoklch(51.33% 0.15 139)
XYZxyz(8.3612, 14.6255, 3.0917)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A15 #5E157A
analogous
#637A15 #317A15 #157A2B
triadic
#317A15 #15317A #7A1531
tetradic
#317A15 #15637A #5E157A #7A2B15
square
#317A15 #15637A #5E157A #7A2B15
split-complementary
#317A15 #2B157A #7A1563
monochromatic
#0A1A04 #1C460C #317A15 #46AE1E #5EDB2E

Accessibility & contrast

On white

5.35
#317A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#317A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A15
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A15#FFFFFF#000000##FFFFFF
##317A151.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#297667
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a15;
/* rgb */ color: rgb(49, 122, 21);
/* oklch */ color: oklch(51.3% 0.150 139.0);
Tailwind
colors: {
  custom: {
    50: '#73a15c',
    500: '#317a15',
    950: '#000000',
  },
}
SCSS
$custom: #317a15;
$custom-light: #73a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#317a15",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 103.366,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.15001,
    "h": 139
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#317A15
secondary
#8F3BAF
accent
#3AEDBC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317A15

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

Preview Lab → · Contrast checker → · Palette generator →

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