#317F11#317F11

#317F11 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.158 H 139.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#317F11
RGBrgb(49, 127, 17)
HSLhsl(103, 76%, 28%)
HSVhsv(103, 87%, 50%)
CMYKcmyk(61.4%, 0%, 86.6%, 50.2%)
CIE-LABlab(46.81, -43.18, 47.07)
CIE-LCHlch(46.81, 63.88, 132.53°)
OKLaboklab(52.72% -0.1191 0.1035)
OKLCHoklch(52.72% 0.158 139)
XYZxyz(8.9568, 15.8714, 3.1217)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F11 #5F117F
analogous
#687F11 #317F11 #117F28
triadic
#317F11 #11317F #7F1131
tetradic
#317F11 #11687F #5F117F #7F2811
square
#317F11 #11687F #5F117F #7F2811
split-complementary
#317F11 #28117F #7F1168
monochromatic
#0A1B04 #1C490A #317F11 #46B518 #5EE228

Accessibility & contrast

On white

5.03
#317F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#317F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F11
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F11#FFFFFF#000000##FFFFFF
##317F111.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796D20
Tritanopia (blue-blind)
#287A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f11;
/* rgb */ color: rgb(49, 127, 17);
/* oklch */ color: oklch(52.7% 0.158 139.0);
Tailwind
colors: {
  custom: {
    50: '#74a55b',
    500: '#317f11',
    950: '#000000',
  },
}
SCSS
$custom: #317f11;
$custom-light: #74a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#317f11",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 102.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.15779,
    "h": 139
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#317F11
secondary
#9037B5
accent
#35F3BC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317F11

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

Preview Lab → · Contrast checker → · Palette generator →

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