#317115#317115

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

Color values

HEX#317115
RGBrgb(49, 113, 21)
HSLhsl(102, 69%, 26%)
HSVhsv(102, 81%, 44%)
CMYKcmyk(56.6%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.03, -37.51, 41.43)
CIE-LCHlch(42.03, 55.89, 132.15°)
OKLaboklab(48.78% -0.1037 0.0923)
OKLCHoklch(48.78% 0.139 138.3)
XYZxyz(7.3068, 12.5168, 2.7403)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317115 #551571
analogous
#5F7115 #317115 #157127
triadic
#317115 #153171 #711531
tetradic
#317115 #155F71 #551571 #712715
square
#317115 #155F71 #551571 #712715
split-complementary
#317115 #271571 #71155F
monochromatic
#0B1A05 #1B3D0B #317115 #47A51F #5ED729

Accessibility & contrast

On white

5.99
#317115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317115
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317115#FFFFFF#000000##FFFFFF
##3171151.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317115;
/* rgb */ color: rgb(49, 113, 21);
/* oklch */ color: oklch(48.8% 0.139 138.3);
Tailwind
colors: {
  custom: {
    50: '#719a5b',
    500: '#317115',
    950: '#000000',
  },
}
SCSS
$custom: #317115;
$custom-light: #719a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317115",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 101.739,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48781,
    "c": 0.1388,
    "h": 138.3
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#317115
secondary
#863BA7
accent
#3CEBB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317115

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

Preview Lab → · Contrast checker → · Palette generator →

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