#317E27#317E27

#317E27 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.144 H 141.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#317E27
RGBrgb(49, 126, 39)
HSLhsl(113, 53%, 32%)
HSVhsv(113, 69%, 49%)
CMYKcmyk(61.1%, 0%, 69%, 50.6%)
CIE-LABlab(46.61, -41.17, 38.92)
CIE-LCHlch(46.61, 56.66, 136.61°)
OKLaboklab(52.6% -0.1124 0.0896)
OKLCHoklch(52.6% 0.144 141.4)
XYZxyz(9.0932, 15.7203, 4.4742)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E27 #74277E
analogous
#5D7E27 #317E27 #277E48
triadic
#317E27 #27317E #7E2731
tetradic
#317E27 #275D7E #74277E #7E4827
square
#317E27 #275D7E #74277E #7E4827
split-complementary
#317E27 #48277E #7E275D
monochromatic
#0D210A #1F4F19 #317E27 #43AD35 #63CA55

Accessibility & contrast

On white

5.07
#317E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#317E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E27
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E27#FFFFFF#000000##FFFFFF
##317E271.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e27;
/* rgb */ color: rgb(49, 126, 39);
/* oklch */ color: oklch(52.6% 0.144 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a466',
    500: '#317e27',
    950: '#000000',
  },
}
SCSS
$custom: #317e27;
$custom-light: #72a466;
$custom-dark: #000000;
JSON
{
  "hex": "#317e27",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 113.103,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.14376,
    "h": 141.4
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#317E27
secondary
#A452AF
accent
#4CDCCC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317E27

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

Preview Lab → · Contrast checker → · Palette generator →

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