#317A25#317A25

#317A25 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.140 H 141.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#317A25
RGBrgb(49, 122, 37)
HSLhsl(112, 53%, 31%)
HSVhsv(112, 70%, 48%)
CMYKcmyk(59.8%, 0%, 69.7%, 52.2%)
CIE-LABlab(45.23, -39.79, 38.33)
CIE-LCHlch(45.23, 55.25, 136.08°)
OKLaboklab(51.46% -0.1088 0.0881)
OKLCHoklch(51.46% 0.14 141)
XYZxyz(8.5597, 14.7049, 4.1372)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A25 #6E257A
analogous
#5B7A25 #317A25 #257A43
triadic
#317A25 #25317A #7A2531
tetradic
#317A25 #255B7A #6E257A #7A4325
square
#317A25 #255B7A #6E257A #7A4325
split-complementary
#317A25 #43257A #7A255B
monochromatic
#0B1C09 #1E4B17 #317A25 #44A933 #61CA50

Accessibility & contrast

On white

5.33
#317A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#317A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A25
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A25#FFFFFF#000000##FFFFFF
##317A251.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#277669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317a25;
/* rgb */ color: rgb(49, 122, 37);
/* oklch */ color: oklch(51.5% 0.140 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a164',
    500: '#317a25',
    950: '#000000',
  },
}
SCSS
$custom: #317a25;
$custom-light: #72a164;
$custom-dark: #000000;
JSON
{
  "hex": "#317a25",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 111.529,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.14,
    "h": 141
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#317A25
secondary
#9F4EAC
accent
#4BDDC8
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317A25

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

Preview Lab → · Contrast checker → · Palette generator →

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