#317314#317314

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

Color values

HEX#317314
RGBrgb(49, 115, 20)
HSLhsl(102, 70%, 26%)
HSVhsv(102, 83%, 45%)
CMYKcmyk(57.4%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.71, -38.38, 42.42)
CIE-LCHlch(42.71, 57.20, 132.14°)
OKLaboklab(49.34% -0.1061 0.0942)
OKLCHoklch(49.34% 0.142 138.4)
XYZxyz(7.5233, 12.9643, 2.7676)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317314 #561473
analogous
#617314 #317314 #147327
triadic
#317314 #143173 #731431
tetradic
#317314 #146173 #561473 #732714
square
#317314 #146173 #561473 #732714
split-complementary
#317314 #271473 #731461
monochromatic
#0B1A05 #1B3F0B #317314 #47A71D #5EDA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317314#FFFFFF#000000##FFFFFF
##3173141.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)
#6E631F
Tritanopia (blue-blind)
#2B6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317314;
/* rgb */ color: rgb(49, 115, 20);
/* oklch */ color: oklch(49.3% 0.142 138.4);
Tailwind
colors: {
  custom: {
    50: '#719c5a',
    500: '#317314',
    950: '#000000',
  },
}
SCSS
$custom: #317314;
$custom-light: #719c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#317314",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 101.684,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.14186,
    "h": 138.4
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#317314
secondary
#873AA9
accent
#3BEDB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317314

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

Preview Lab → · Contrast checker → · Palette generator →

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