#317121#317121

#317121 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.131 H 139.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#317121
RGBrgb(49, 113, 33)
HSLhsl(108, 55%, 29%)
HSVhsv(108, 71%, 44%)
CMYKcmyk(56.6%, 0%, 70.8%, 55.7%)
CIE-LABlab(42.11, -36.54, 36.77)
CIE-LCHlch(42.11, 51.83, 134.82°)
OKLaboklab(48.88% -0.1003 0.0843)
OKLCHoklch(48.88% 0.131 139.9)
XYZxyz(7.4459, 12.5724, 3.4729)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317121 #612171
analogous
#597121 #317121 #217139
triadic
#317121 #213171 #712131
tetradic
#317121 #215971 #612171 #713921
square
#317121 #215971 #612171 #713921
split-complementary
#317121 #392171 #712159
monochromatic
#0A1807 #1C4213 #317121 #46A02F #5EC844

Accessibility & contrast

On white

5.98
#317121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#317121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317121
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317121#FFFFFF#000000##FFFFFF
##3171211.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746716
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#2A6D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317121;
/* rgb */ color: rgb(49, 113, 33);
/* oklch */ color: oklch(48.9% 0.131 139.9);
Tailwind
colors: {
  custom: {
    50: '#709a61',
    500: '#317121',
    950: '#000000',
  },
}
SCSS
$custom: #317121;
$custom-light: #709a61;
$custom-dark: #000000;
JSON
{
  "hex": "#317121",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 108,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.13099,
    "h": 139.9
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#317121
secondary
#9249A5
accent
#4ADEC0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #317121

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

Preview Lab → · Contrast checker → · Palette generator →

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