#317516#317516

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

Color values

HEX#317516
RGBrgb(49, 117, 22)
HSLhsl(103, 68%, 27%)
HSVhsv(103, 81%, 46%)
CMYKcmyk(58.1%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.41, -39.05, 42.41)
CIE-LCHlch(43.41, 57.65, 132.63°)
OKLaboklab(49.92% -0.1077 0.0945)
OKLCHoklch(49.92% 0.143 138.7)
XYZxyz(7.7724, 13.4328, 2.9421)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317516 #5A1675
analogous
#617516 #317516 #16752A
triadic
#317516 #163175 #751631
tetradic
#317516 #166175 #5A1675 #752A16
square
#317516 #166175 #5A1675 #752A16
split-complementary
#317516 #2A1675 #751661
monochromatic
#0B1A05 #1B410C #317516 #47A920 #5ED82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317516#FFFFFF#000000##FFFFFF
##3175161.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)
#706421
Tritanopia (blue-blind)
#2A7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317516;
/* rgb */ color: rgb(49, 117, 22);
/* oklch */ color: oklch(49.9% 0.143 138.7);
Tailwind
colors: {
  custom: {
    50: '#729d5c',
    500: '#317516',
    950: '#000000',
  },
}
SCSS
$custom: #317516;
$custom-light: #729d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317516",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 102.947,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.1433,
    "h": 138.7
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#317516
secondary
#8B3CAB
accent
#3DEBBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317516

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

Preview Lab → · Contrast checker → · Palette generator →

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