#317414#317414

#317414 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.143 H 138.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#317414
RGBrgb(49, 116, 20)
HSLhsl(102, 71%, 27%)
HSVhsv(102, 83%, 45%)
CMYKcmyk(57.8%, 0%, 82.8%, 54.5%)
CIE-LABlab(43.05, -38.77, 42.74)
CIE-LCHlch(43.05, 57.71, 132.21°)
OKLaboklab(49.63% -0.1071 0.0949)
OKLCHoklch(49.63% 0.143 138.5)
XYZxyz(7.6380, 13.1936, 2.8058)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317414 #571474
analogous
#617414 #317414 #147427
triadic
#317414 #143174 #741431
tetradic
#317414 #146174 #571474 #742714
square
#317414 #146174 #571474 #742714
split-complementary
#317414 #271474 #741461
monochromatic
#0B1A05 #1B400B #317414 #47A81D #5EDA28

Accessibility & contrast

On white

5.77
#317414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#317414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317414
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317414#FFFFFF#000000##FFFFFF
##3174141.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F641F
Tritanopia (blue-blind)
#2B7062
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317414;
/* rgb */ color: rgb(49, 116, 20);
/* oklch */ color: oklch(49.6% 0.143 138.5);
Tailwind
colors: {
  custom: {
    50: '#729d5b',
    500: '#317414',
    950: '#000000',
  },
}
SCSS
$custom: #317414;
$custom-light: #729d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317414",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 101.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.14311,
    "h": 138.5
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#317414
secondary
#883AAA
accent
#3AEDB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317414

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

Preview Lab → · Contrast checker → · Palette generator →

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