#317211#317211

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

Color values

HEX#317211
RGBrgb(49, 114, 17)
HSLhsl(100, 74%, 26%)
HSVhsv(100, 85%, 45%)
CMYKcmyk(57%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.35, -38.15, 43.03)
CIE-LCHlch(42.35, 57.51, 131.56°)
OKLaboklab(49.04% -0.1056 0.095)
OKLCHoklch(49.04% 0.142 138)
XYZxyz(7.3848, 12.7275, 2.5977)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317211 #521172
analogous
#617211 #317211 #117221
triadic
#317211 #113172 #721131
tetradic
#317211 #116172 #521172 #722111
square
#317211 #116172 #521172 #722111
split-complementary
#317211 #211172 #721161
monochromatic
#0B1B04 #1A3D09 #317211 #48A719 #5FDD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317211#FFFFFF#000000##FFFFFF
##3172111.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)
#6E621D
Tritanopia (blue-blind)
#2B6E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317211;
/* rgb */ color: rgb(49, 114, 17);
/* oklch */ color: oklch(49.0% 0.142 138.0);
Tailwind
colors: {
  custom: {
    50: '#719b59',
    500: '#317211',
    950: '#000000',
  },
}
SCSS
$custom: #317211;
$custom-light: #719b59;
$custom-dark: #000000;
JSON
{
  "hex": "#317211",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 100.206,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.14207,
    "h": 138
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#317211
secondary
#8336A9
accent
#37F1B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317211

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

Preview Lab → · Contrast checker → · Palette generator →

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