#317E22#317E22

#317E22 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.147 H 140.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#317E22
RGBrgb(49, 126, 34)
HSLhsl(110, 58%, 31%)
HSVhsv(110, 73%, 49%)
CMYKcmyk(61.1%, 0%, 73%, 50.6%)
CIE-LABlab(46.56, -41.64, 41.02)
CIE-LCHlch(46.56, 58.45, 135.43°)
OKLaboklab(52.55% -0.114 0.0934)
OKLCHoklch(52.55% 0.147 140.7)
XYZxyz(9.0158, 15.6894, 4.0663)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E22 #6F227E
analogous
#5F7E22 #317E22 #227E41
triadic
#317E22 #22317E #7E2231
tetradic
#317E22 #225F7E #6F227E #7E4122
square
#317E22 #225F7E #6F227E #7E4122
split-complementary
#317E22 #41227E #7E225F
monochromatic
#0C1E08 #1E4E15 #317E22 #44AE2F #61CF4C

Accessibility & contrast

On white

5.07
#317E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#317E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E22
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E22#FFFFFF#000000##FFFFFF
##317E221.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#267A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e22;
/* rgb */ color: rgb(49, 126, 34);
/* oklch */ color: oklch(52.6% 0.147 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a463',
    500: '#317e22',
    950: '#000000',
  },
}
SCSS
$custom: #317e22;
$custom-light: #73a463;
$custom-dark: #000000;
JSON
{
  "hex": "#317e22",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 110.217,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.14735,
    "h": 140.7
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#317E22
secondary
#A04BB1
accent
#47E1C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317E22

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

Preview Lab → · Contrast checker → · Palette generator →

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