#317D24#317D24

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

Color values

HEX#317D24
RGBrgb(49, 125, 36)
HSLhsl(111, 55%, 32%)
HSVhsv(111, 71%, 49%)
CMYKcmyk(60.8%, 0%, 71.2%, 51%)
CIE-LABlab(46.24, -41.07, 39.84)
CIE-LCHlch(46.24, 57.22, 135.87°)
OKLaboklab(52.29% -0.1123 0.0912)
OKLCHoklch(52.29% 0.145 140.9)
XYZxyz(8.9182, 15.4468, 4.1803)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D24 #70247D
analogous
#5E7D24 #317D24 #247D44
triadic
#317D24 #24317D #7D2431
tetradic
#317D24 #245E7D #70247D #7D4424
square
#317D24 #245E7D #70247D #7D4424
split-complementary
#317D24 #44247D #7D245E
monochromatic
#0C1E09 #1E4D16 #317D24 #44AD32 #61CC4F

Accessibility & contrast

On white

5.13
#317D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317D24
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D24#FFFFFF#000000##FFFFFF
##317D241.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#26796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d24;
/* rgb */ color: rgb(49, 125, 36);
/* oklch */ color: oklch(52.3% 0.145 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a364',
    500: '#317d24',
    950: '#000000',
  },
}
SCSS
$custom: #317d24;
$custom-light: #72a364;
$custom-dark: #000000;
JSON
{
  "hex": "#317d24",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 111.236,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.14467,
    "h": 140.9
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#317D24
secondary
#A14DAF
accent
#49DFC9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317D24

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

Preview Lab → · Contrast checker → · Palette generator →

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