#317F22#317F22

#317F22 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.149 H 140.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#317F22
RGBrgb(49, 127, 34)
HSLhsl(110, 58%, 32%)
HSVhsv(110, 73%, 50%)
CMYKcmyk(61.4%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.90, -42.03, 41.37)
CIE-LCHlch(46.90, 58.97, 135.45°)
OKLaboklab(52.84% -0.115 0.0941)
OKLCHoklch(52.84% 0.149 140.7)
XYZxyz(9.1443, 15.9464, 4.1091)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F22 #70227F
analogous
#607F22 #317F22 #227F42
triadic
#317F22 #22317F #7F2231
tetradic
#317F22 #22607F #70227F #7F4222
square
#317F22 #22607F #70227F #7F4222
split-complementary
#317F22 #42227F #7F2260
monochromatic
#0C1E08 #1E4F15 #317F22 #44AF2F #61CF4C

Accessibility & contrast

On white

5.01
#317F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#317F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F22
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F22#FFFFFF#000000##FFFFFF
##317F221.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#267B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f22;
/* rgb */ color: rgb(49, 127, 34);
/* oklch */ color: oklch(52.8% 0.149 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a563',
    500: '#317f22',
    950: '#000000',
  },
}
SCSS
$custom: #317f22;
$custom-light: #73a563;
$custom-dark: #000000;
JSON
{
  "hex": "#317f22",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 110.323,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.14863,
    "h": 140.7
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317F22

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

Preview Lab → · Contrast checker → · Palette generator →

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