#317B22#317B22

#317B22 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.143 H 140.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#317B22
RGBrgb(49, 123, 34)
HSLhsl(110, 57%, 31%)
HSVhsv(110, 72%, 48%)
CMYKcmyk(60.2%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.54, -40.47, 39.96)
CIE-LCHlch(45.54, 56.87, 135.37°)
OKLaboklab(51.71% -0.1108 0.0911)
OKLCHoklch(51.71% 0.143 140.6)
XYZxyz(8.6379, 14.9336, 3.9403)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B22 #6C227B
analogous
#5D7B22 #317B22 #227B3F
triadic
#317B22 #22317B #7B2231
tetradic
#317B22 #225D7B #6C227B #7B3F22
square
#317B22 #225D7B #6C227B #7B3F22
split-complementary
#317B22 #3F227B #7B225D
monochromatic
#0B1B07 #1E4B15 #317B22 #44AB2F #60CD4A

Accessibility & contrast

On white

5.27
#317B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#317B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B22
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B22#FFFFFF#000000##FFFFFF
##317B221.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7014
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#277769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b22;
/* rgb */ color: rgb(49, 123, 34);
/* oklch */ color: oklch(51.7% 0.143 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a262',
    500: '#317b22',
    950: '#000000',
  },
}
SCSS
$custom: #317b22;
$custom-light: #72a262;
$custom-dark: #000000;
JSON
{
  "hex": "#317b22",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 109.888,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.14349,
    "h": 140.6
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#317B22
secondary
#9D4BAE
accent
#48E0C6
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317B22

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

Preview Lab → · Contrast checker → · Palette generator →

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