#317D27#317D27

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

Color values

HEX#317D27
RGBrgb(49, 125, 39)
HSLhsl(113, 52%, 32%)
HSVhsv(113, 69%, 49%)
CMYKcmyk(60.8%, 0%, 68.8%, 51%)
CIE-LABlab(46.27, -40.78, 38.56)
CIE-LCHlch(46.27, 56.12, 136.60°)
OKLaboklab(52.32% -0.1113 0.0888)
OKLCHoklch(52.32% 0.142 141.4)
XYZxyz(8.9660, 15.4659, 4.4318)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D27 #73277D
analogous
#5C7D27 #317D27 #277D48
triadic
#317D27 #27317D #7D2731
tetradic
#317D27 #275C7D #73277D #7D4827
square
#317D27 #275C7D #73277D #7D4827
split-complementary
#317D27 #48277D #7D275C
monochromatic
#0C200A #1F4E18 #317D27 #43AC36 #62CA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317D27#FFFFFF#000000##FFFFFF
##317D271.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)
#80721C
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#26796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d27;
/* rgb */ color: rgb(49, 125, 39);
/* oklch */ color: oklch(52.3% 0.142 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a366',
    500: '#317d27',
    950: '#000000',
  },
}
SCSS
$custom: #317d27;
$custom-light: #72a366;
$custom-dark: #000000;
JSON
{
  "hex": "#317d27",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 113.023,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.14245,
    "h": 141.4
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#317D27
secondary
#A451AF
accent
#4CDCCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317D27

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

Preview Lab → · Contrast checker → · Palette generator →

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