#317310#317310

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

Color values

HEX#317310
RGBrgb(49, 115, 16)
HSLhsl(100, 76%, 26%)
HSVhsv(100, 86%, 45%)
CMYKcmyk(57.4%, 0%, 86.1%, 54.9%)
CIE-LABlab(42.69, -38.60, 43.63)
CIE-LCHlch(42.69, 58.26, 131.50°)
OKLaboklab(49.32% -0.1069 0.0961)
OKLCHoklch(49.32% 0.144 138)
XYZxyz(7.4906, 12.9512, 2.5952)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317310 #521073
analogous
#627310 #317310 #107320
triadic
#317310 #103173 #731031
tetradic
#317310 #106273 #521073 #732010
square
#317310 #106273 #521073 #732010
split-complementary
#317310 #201073 #731062
monochromatic
#0B1B04 #1A3D09 #317310 #48A917 #5FDE1F

Accessibility & contrast

On white

5.85
#317310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317310
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317310#FFFFFF#000000##FFFFFF
##3173101.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#2B6F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317310;
/* rgb */ color: rgb(49, 115, 16);
/* oklch */ color: oklch(49.3% 0.144 138.0);
Tailwind
colors: {
  custom: {
    50: '#729c59',
    500: '#317310',
    950: '#000000',
  },
}
SCSS
$custom: #317310;
$custom-light: #729c59;
$custom-dark: #000000;
JSON
{
  "hex": "#317310",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 100,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.14376,
    "h": 138
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#317310
secondary
#8334AA
accent
#36F2B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317310

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

Preview Lab → · Contrast checker → · Palette generator →

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