#317C12#317C12

#317C12 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.154 H 138.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#317C12
RGBrgb(49, 124, 18)
HSLhsl(102, 75%, 28%)
HSVhsv(102, 85%, 49%)
CMYKcmyk(60.5%, 0%, 85.5%, 51.4%)
CIE-LABlab(45.79, -42.00, 45.88)
CIE-LCHlch(45.79, 62.20, 132.47°)
OKLaboklab(51.88% -0.1159 0.1012)
OKLCHoklch(51.88% 0.154 138.9)
XYZxyz(8.5831, 15.1112, 3.0366)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C12 #5D127C
analogous
#667C12 #317C12 #127C28
triadic
#317C12 #12317C #7C1231
tetradic
#317C12 #12667C #5D127C #7C2812
square
#317C12 #12667C #5D127C #7C2812
split-complementary
#317C12 #28127C #7C1266
monochromatic
#0B1B04 #1C470A #317C12 #46B11A #5EE029

Accessibility & contrast

On white

5.22
#317C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#317C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C12
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C12#FFFFFF#000000##FFFFFF
##317C121.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#297769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c12;
/* rgb */ color: rgb(49, 124, 18);
/* oklch */ color: oklch(51.9% 0.154 138.9);
Tailwind
colors: {
  custom: {
    50: '#73a35b',
    500: '#317c12',
    950: '#000000',
  },
}
SCSS
$custom: #317c12;
$custom-light: #73a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#317c12",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 102.453,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.15382,
    "h": 138.9
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#317C12
secondary
#8E38B2
accent
#37F1BB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317C12

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

Preview Lab → · Contrast checker → · Palette generator →

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