#317213#317213

#317213 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.141 H 138.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#317213
RGBrgb(49, 114, 19)
HSLhsl(101, 71%, 26%)
HSVhsv(101, 83%, 45%)
CMYKcmyk(57%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.36, -38.04, 42.41)
CIE-LCHlch(42.36, 56.97, 131.89°)
OKLaboklab(49.05% -0.1052 0.094)
OKLCHoklch(49.05% 0.141 138.2)
XYZxyz(7.4012, 12.7340, 2.6839)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317213 #541372
analogous
#607213 #317213 #137224
triadic
#317213 #133172 #721331
tetradic
#317213 #136072 #541372 #722413
square
#317213 #136072 #541372 #722413
split-complementary
#317213 #241372 #721360
monochromatic
#0B1A04 #1A3E0A #317213 #48A61C #5EDB25

Accessibility & contrast

On white

5.92
#317213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#317213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317213
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317213#FFFFFF#000000##FFFFFF
##3172131.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#2B6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317213;
/* rgb */ color: rgb(49, 114, 19);
/* oklch */ color: oklch(49.1% 0.141 138.2);
Tailwind
colors: {
  custom: {
    50: '#719b5a',
    500: '#317213',
    950: '#000000',
  },
}
SCSS
$custom: #317213;
$custom-light: #719b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#317213",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 101.053,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49053,
    "c": 0.1411,
    "h": 138.2
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#317213
secondary
#8538A9
accent
#3AEEB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317213

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

Preview Lab → · Contrast checker → · Palette generator →

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