#317C28#317C28

#317C28 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.140 H 141.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#317C28
RGBrgb(49, 124, 40)
HSLhsl(114, 51%, 32%)
HSVhsv(114, 68%, 49%)
CMYKcmyk(60.5%, 0%, 67.7%, 51.4%)
CIE-LABlab(45.94, -40.28, 37.75)
CIE-LCHlch(45.94, 55.20, 136.86°)
OKLaboklab(52.05% -0.1099 0.0872)
OKLCHoklch(52.05% 0.14 141.6)
XYZxyz(8.8568, 15.2207, 4.4782)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C28 #73287C
analogous
#5B7C28 #317C28 #287C49
triadic
#317C28 #28317C #7C2831
tetradic
#317C28 #285B7C #73287C #7C4928
square
#317C28 #285B7C #73287C #7C4928
split-complementary
#317C28 #49287C #7C285B
monochromatic
#0C1F0A #1F4E19 #317C28 #43AA37 #62C856

Accessibility & contrast

On white

5.19
#317C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#317C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C28
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C28#FFFFFF#000000##FFFFFF
##317C281.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#766A2F
Tritanopia (blue-blind)
#26786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317c28;
/* rgb */ color: rgb(49, 124, 40);
/* oklch */ color: oklch(52.1% 0.140 141.6);
Tailwind
colors: {
  custom: {
    50: '#72a366',
    500: '#317c28',
    950: '#000000',
  },
}
SCSS
$custom: #317c28;
$custom-light: #72a366;
$custom-dark: #000000;
JSON
{
  "hex": "#317c28",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 113.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.14035,
    "h": 141.6
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#317C28
secondary
#A452AD
accent
#4DDBCC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317C28

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

Preview Lab → · Contrast checker → · Palette generator →

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