#317515#317515

#317515 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.144 H 138.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#317515
RGBrgb(49, 117, 21)
HSLhsl(103, 70%, 27%)
HSVhsv(103, 82%, 46%)
CMYKcmyk(58.1%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.40, -39.11, 42.74)
CIE-LCHlch(43.40, 57.94, 132.46°)
OKLaboklab(49.92% -0.108 0.095)
OKLCHoklch(49.92% 0.144 138.6)
XYZxyz(7.7630, 13.4290, 2.8923)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317515 #591575
analogous
#617515 #317515 #157529
triadic
#317515 #153175 #751531
tetradic
#317515 #156175 #591575 #752915
square
#317515 #156175 #591575 #752915
split-complementary
#317515 #291575 #751561
monochromatic
#0B1A05 #1B410C #317515 #47A91E #5ED92B

Accessibility & contrast

On white

5.70
#317515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#317515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317515
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317515#FFFFFF#000000##FFFFFF
##3175151.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#2A7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317515;
/* rgb */ color: rgb(49, 117, 21);
/* oklch */ color: oklch(49.9% 0.144 138.6);
Tailwind
colors: {
  custom: {
    50: '#729d5b',
    500: '#317515',
    950: '#000000',
  },
}
SCSS
$custom: #317515;
$custom-light: #729d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317515",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 102.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49917,
    "c": 0.14384,
    "h": 138.6
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#317515
secondary
#8A3BAB
accent
#3BECB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317515

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

Preview Lab → · Contrast checker → · Palette generator →

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