#317815#317815

#317815 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.148 H 138.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#317815
RGBrgb(49, 120, 21)
HSLhsl(103, 70%, 28%)
HSVhsv(103, 83%, 47%)
CMYKcmyk(59.2%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.43, -40.29, 43.72)
CIE-LCHlch(44.43, 59.45, 132.66°)
OKLaboklab(50.77% -0.1111 0.0971)
OKLCHoklch(50.77% 0.148 138.9)
XYZxyz(8.1181, 14.1394, 3.0107)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317815 #5C1578
analogous
#637815 #317815 #15782A
triadic
#317815 #153178 #781531
tetradic
#317815 #156378 #5C1578 #782A15
square
#317815 #156378 #5C1578 #782A15
split-complementary
#317815 #2A1578 #781563
monochromatic
#0B1A05 #1C440C #317815 #46AC1E #5EDA2D

Accessibility & contrast

On white

5.49
#317815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#317815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317815
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317815#FFFFFF#000000##FFFFFF
##3178151.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#2A7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317815;
/* rgb */ color: rgb(49, 120, 21);
/* oklch */ color: oklch(50.8% 0.148 138.9);
Tailwind
colors: {
  custom: {
    50: '#72a05c',
    500: '#317815',
    950: '#000000',
  },
}
SCSS
$custom: #317815;
$custom-light: #72a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#317815",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 103.03,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50767,
    "c": 0.14755,
    "h": 138.9
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#317815
secondary
#8D3BAE
accent
#3BEDBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #317815

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

Preview Lab → · Contrast checker → · Palette generator →

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