#317D25#317D25

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

Color values

HEX#317D25
RGBrgb(49, 125, 37)
HSLhsl(112, 54%, 32%)
HSVhsv(112, 70%, 49%)
CMYKcmyk(60.8%, 0%, 70.4%, 51%)
CIE-LABlab(46.25, -40.98, 39.42)
CIE-LCHlch(46.25, 56.86, 136.11°)
OKLaboklab(52.3% -0.112 0.0904)
OKLCHoklch(52.3% 0.144 141.1)
XYZxyz(8.9337, 15.4530, 4.2618)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D25 #71257D
analogous
#5D7D25 #317D25 #257D45
triadic
#317D25 #25317D #7D2531
tetradic
#317D25 #255D7D #71257D #7D4525
square
#317D25 #255D7D #71257D #7D4525
split-complementary
#317D25 #45257D #7D255D
monochromatic
#0C1F09 #1E4E17 #317D25 #44AC33 #62CB51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317D25#FFFFFF#000000##FFFFFF
##317D251.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)
#807119
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#26796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d25;
/* rgb */ color: rgb(49, 125, 37);
/* oklch */ color: oklch(52.3% 0.144 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a364',
    500: '#317d25',
    950: '#000000',
  },
}
SCSS
$custom: #317d25;
$custom-light: #72a364;
$custom-dark: #000000;
JSON
{
  "hex": "#317d25",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 111.818,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.14394,
    "h": 141.1
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#317D25
secondary
#A24FAF
accent
#4ADECA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317D25

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

Preview Lab → · Contrast checker → · Palette generator →

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