#317239#317239

#317239 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.111 H 146.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#317239
RGBrgb(49, 114, 57)
HSLhsl(127, 40%, 32%)
HSVhsv(127, 57%, 45%)
CMYKcmyk(57%, 0%, 50%, 55.3%)
CIE-LABlab(42.74, -33.85, 25.36)
CIE-LCHlch(42.74, 42.30, 143.16°)
OKLaboklab(49.48% -0.0918 0.0617)
OKLCHoklch(49.48% 0.111 146.1)
XYZxyz(8.0220, 12.9823, 5.9532)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317239 #72316A
analogous
#4A7231 #317239 #31725A
triadic
#317239 #393172 #723931
tetradic
#317239 #314A72 #72316A #725A31
square
#317239 #314A72 #72316A #725A31
split-complementary
#317239 #5A3172 #72314A
monochromatic
#0C1C0E #1F4724 #317239 #439D4E #62BB6D

Accessibility & contrast

On white

5.84
#317239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#317239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317239
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317239#FFFFFF#000000##FFFFFF
##3172391.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746934
Deuteranopia (green-blind)
#6B633D
Tritanopia (blue-blind)
#256F65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317239;
/* rgb */ color: rgb(49, 114, 57);
/* oklch */ color: oklch(49.5% 0.111 146.1);
Tailwind
colors: {
  custom: {
    50: '#6f9b70',
    500: '#317239',
    950: '#000000',
  },
}
SCSS
$custom: #317239;
$custom-light: #6f9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#317239",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 127.385,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.11057,
    "h": 146.1
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#317239
secondary
#A35C9A
accent
#58C1D0
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #317239

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

Preview Lab → · Contrast checker → · Palette generator →

#317239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva