#317315#317315

#317315 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.141 H 138.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#317315
RGBrgb(49, 115, 21)
HSLhsl(102, 69%, 27%)
HSVhsv(102, 82%, 45%)
CMYKcmyk(57.4%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.72, -38.31, 42.09)
CIE-LCHlch(42.72, 56.92, 132.31°)
OKLaboklab(49.35% -0.1058 0.0937)
OKLCHoklch(49.35% 0.141 138.5)
XYZxyz(7.5324, 12.9680, 2.8155)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317315 #571573
analogous
#607315 #317315 #157328
triadic
#317315 #153173 #731531
tetradic
#317315 #156073 #571573 #732815
square
#317315 #156073 #571573 #732815
split-complementary
#317315 #281573 #731560
monochromatic
#0B1A05 #1B3F0C #317315 #47A71E #5ED82A

Accessibility & contrast

On white

5.84
#317315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#317315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317315
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317315#FFFFFF#000000##FFFFFF
##3173151.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#2B6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317315;
/* rgb */ color: rgb(49, 115, 21);
/* oklch */ color: oklch(49.3% 0.141 138.5);
Tailwind
colors: {
  custom: {
    50: '#719c5b',
    500: '#317315',
    950: '#000000',
  },
}
SCSS
$custom: #317315;
$custom-light: #719c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317315",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 102.128,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.14134,
    "h": 138.5
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#317315
secondary
#883BA9
accent
#3CECB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317315

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

Preview Lab → · Contrast checker → · Palette generator →

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