#317012#317012

#317012 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.139 H 137.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#317012
RGBrgb(49, 112, 18)
HSLhsl(100, 72%, 25%)
HSVhsv(100, 84%, 44%)
CMYKcmyk(56.3%, 0%, 83.9%, 56.1%)
CIE-LABlab(41.66, -37.29, 42.08)
CIE-LCHlch(41.66, 56.23, 131.54°)
OKLaboklab(48.48% -0.1033 0.0932)
OKLCHoklch(48.48% 0.139 137.9)
XYZxyz(7.1697, 12.2844, 2.5655)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317012 #511270
analogous
#607012 #317012 #127022
triadic
#317012 #123170 #701231
tetradic
#317012 #126070 #511270 #702212
square
#317012 #126070 #511270 #702212
split-complementary
#317012 #221270 #701260
monochromatic
#0C1A04 #1A3B0A #317012 #48A51A #5FD923

Accessibility & contrast

On white

6.07
#317012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#317012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317012
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317012#FFFFFF#000000##FFFFFF
##3170121.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#2C6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317012;
/* rgb */ color: rgb(49, 112, 18);
/* oklch */ color: oklch(48.5% 0.139 137.9);
Tailwind
colors: {
  custom: {
    50: '#719a59',
    500: '#317012',
    950: '#000000',
  },
}
SCSS
$custom: #317012;
$custom-light: #719a59;
$custom-dark: #000000;
JSON
{
  "hex": "#317012",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 100.213,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.1391,
    "h": 137.9
  },
  "luminance": 0.12285
}

Semantic roles & 50–950 ramp

primary
#317012
secondary
#8237A7
accent
#39EFB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317012

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

Preview Lab → · Contrast checker → · Palette generator →

#317012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva