#317D22#317D22

#317D22 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.146 H 140.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#317D22
RGBrgb(49, 125, 34)
HSLhsl(110, 57%, 31%)
HSVhsv(110, 73%, 49%)
CMYKcmyk(60.8%, 0%, 72.8%, 51%)
CIE-LABlab(46.22, -41.26, 40.66)
CIE-LCHlch(46.22, 57.93, 135.41°)
OKLaboklab(52.27% -0.1129 0.0926)
OKLCHoklch(52.27% 0.146 140.6)
XYZxyz(8.8886, 15.4349, 4.0239)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D22 #6E227D
analogous
#5E7D22 #317D22 #227D40
triadic
#317D22 #22317D #7D2231
tetradic
#317D22 #225E7D #6E227D #7D4022
square
#317D22 #225E7D #6E227D #7D4022
split-complementary
#317D22 #40227D #7D225E
monochromatic
#0B1D08 #1E4D15 #317D22 #44AD2F #61CE4B

Accessibility & contrast

On white

5.14
#317D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#317D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D22
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D22#FFFFFF#000000##FFFFFF
##317D221.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#27796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d22;
/* rgb */ color: rgb(49, 125, 34);
/* oklch */ color: oklch(52.3% 0.146 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a363',
    500: '#317d22',
    950: '#000000',
  },
}
SCSS
$custom: #317d22;
$custom-light: #73a363;
$custom-dark: #000000;
JSON
{
  "hex": "#317d22",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 110.11,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.14607,
    "h": 140.6
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#317D22
secondary
#9F4BB0
accent
#47E0C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317D22

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

Preview Lab → · Contrast checker → · Palette generator →

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