#317221#317221

#317221 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.132 H 140.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#317221
RGBrgb(49, 114, 33)
HSLhsl(108, 55%, 29%)
HSVhsv(108, 71%, 45%)
CMYKcmyk(57%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.46, -36.95, 37.13)
CIE-LCHlch(42.46, 52.38, 134.86°)
OKLaboklab(49.16% -0.1014 0.0851)
OKLCHoklch(49.16% 0.132 140)
XYZxyz(7.5581, 12.7968, 3.5103)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317221 #622172
analogous
#5A7221 #317221 #21723A
triadic
#317221 #213172 #722131
tetradic
#317221 #215A72 #622172 #723A21
square
#317221 #215A72 #622172 #723A21
split-complementary
#317221 #3A2172 #72215A
monochromatic
#0A1807 #1D4313 #317221 #45A12F #5FC944

Accessibility & contrast

On white

5.90
#317221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#317221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317221
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317221#FFFFFF#000000##FFFFFF
##3172211.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756816
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#2A6E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317221;
/* rgb */ color: rgb(49, 114, 33);
/* oklch */ color: oklch(49.2% 0.132 140.0);
Tailwind
colors: {
  custom: {
    50: '#719b61',
    500: '#317221',
    950: '#000000',
  },
}
SCSS
$custom: #317221;
$custom-light: #719b61;
$custom-dark: #000000;
JSON
{
  "hex": "#317221",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 108.148,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.13234,
    "h": 140
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#317221
secondary
#9349A5
accent
#49DEC1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #317221

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

Preview Lab → · Contrast checker → · Palette generator →

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