#317C22#317C22

#317C22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.145 H 140.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#317C22
RGBrgb(49, 124, 34)
HSLhsl(110, 57%, 31%)
HSVhsv(110, 73%, 49%)
CMYKcmyk(60.5%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.88, -40.87, 40.31)
CIE-LCHlch(45.88, 57.40, 135.39°)
OKLaboklab(51.99% -0.1119 0.0919)
OKLCHoklch(51.99% 0.145 140.6)
XYZxyz(8.7626, 15.1830, 3.9819)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C22 #6D227C
analogous
#5E7C22 #317C22 #227C40
triadic
#317C22 #22317C #7C2231
tetradic
#317C22 #225E7C #6D227C #7C4022
square
#317C22 #225E7C #6D227C #7C4022
split-complementary
#317C22 #40227C #7C225E
monochromatic
#0B1C08 #1E4C15 #317C22 #44AC2F #61CE4B

Accessibility & contrast

On white

5.20
#317C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#317C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C22
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C22#FFFFFF#000000##FFFFFF
##317C221.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7114
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#27786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317c22;
/* rgb */ color: rgb(49, 124, 34);
/* oklch */ color: oklch(52.0% 0.145 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a363',
    500: '#317c22',
    950: '#000000',
  },
}
SCSS
$custom: #317c22;
$custom-light: #72a363;
$custom-dark: #000000;
JSON
{
  "hex": "#317c22",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 110,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.14478,
    "h": 140.6
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#317C22
secondary
#9E4BAF
accent
#48E0C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317C22

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

Preview Lab → · Contrast checker → · Palette generator →

#317C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva