#317E2A#317E2A

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

Color values

HEX#317E2A
RGBrgb(49, 126, 42)
HSLhsl(115, 50%, 33%)
HSVhsv(115, 67%, 49%)
CMYKcmyk(61.1%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.63, -40.86, 37.60)
CIE-LCHlch(46.63, 55.52, 137.38°)
OKLaboklab(52.63% -0.1114 0.0872)
OKLCHoklch(52.63% 0.141 142)
XYZxyz(9.1449, 15.7410, 4.7464)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E2A #772A7E
analogous
#5B7E2A #317E2A #2A7E4D
triadic
#317E2A #2A317E #7E2A31
tetradic
#317E2A #2A5B7E #772A7E #7E4D2A
square
#317E2A #2A5B7E #772A7E #7E4D2A
split-complementary
#317E2A #4D2A7E #7E2A5B
monochromatic
#0D220B #1F501B #317E2A #43AC39 #63C85A

Accessibility & contrast

On white

5.06
#317E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#317E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E2A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E2A#FFFFFF#000000##FFFFFF
##317E2A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e2a;
/* rgb */ color: rgb(49, 126, 42);
/* oklch */ color: oklch(52.6% 0.141 142.0);
Tailwind
colors: {
  custom: {
    50: '#72a467',
    500: '#317e2a',
    950: '#000000',
  },
}
SCSS
$custom: #317e2a;
$custom-light: #72a467;
$custom-dark: #000000;
JSON
{
  "hex": "#317e2a",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 115,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.14144,
    "h": 142
  },
  "luminance": 0.15742
}

Semantic roles & 50–950 ramp

primary
#317E2A
secondary
#A656AE
accent
#4EDACE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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