#317111#317111

#317111 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.141 H 137.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#317111
RGBrgb(49, 113, 17)
HSLhsl(100, 74%, 25%)
HSVhsv(100, 85%, 44%)
CMYKcmyk(56.6%, 0%, 85%, 55.7%)
CIE-LABlab(42.00, -37.75, 42.71)
CIE-LCHlch(42.00, 57.00, 131.47°)
OKLaboklab(48.76% -0.1045 0.0944)
OKLCHoklch(48.76% 0.141 137.9)
XYZxyz(7.2727, 12.5031, 2.5603)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317111 #511171
analogous
#617111 #317111 #117121
triadic
#317111 #113171 #711131
tetradic
#317111 #116171 #511171 #712111
square
#317111 #116171 #511171 #712111
split-complementary
#317111 #211171 #711161
monochromatic
#0C1B04 #1A3C09 #317111 #48A619 #5FDB21

Accessibility & contrast

On white

6.00
#317111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#317111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317111
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317111#FFFFFF#000000##FFFFFF
##3171111.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#2C6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317111;
/* rgb */ color: rgb(49, 113, 17);
/* oklch */ color: oklch(48.8% 0.141 137.9);
Tailwind
colors: {
  custom: {
    50: '#719a59',
    500: '#317111',
    950: '#000000',
  },
}
SCSS
$custom: #317111;
$custom-light: #719a59;
$custom-dark: #000000;
JSON
{
  "hex": "#317111",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 100,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.14083,
    "h": 137.9
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#317111
secondary
#8236A8
accent
#37F1B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317111

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

Preview Lab → · Contrast checker → · Palette generator →

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