#317236#317236

#317236 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.114 H 145.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#317236
RGBrgb(49, 114, 54)
HSLhsl(125, 40%, 32%)
HSVhsv(125, 57%, 45%)
CMYKcmyk(57%, 0%, 52.6%, 55.3%)
CIE-LABlab(42.69, -34.33, 26.95)
CIE-LCHlch(42.69, 43.64, 141.87°)
OKLaboklab(49.43% -0.0931 0.0651)
OKLCHoklch(49.43% 0.114 145)
XYZxyz(7.9493, 12.9533, 5.5706)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317236 #72316D
analogous
#4D7231 #317236 #317257
triadic
#317236 #363172 #723631
tetradic
#317236 #314D72 #72316D #725731
square
#317236 #314D72 #72316D #725731
split-complementary
#317236 #573172 #72314D
monochromatic
#0C1C0D #1F4722 #317236 #439D4A #62BB69

Accessibility & contrast

On white

5.85
#317236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#317236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317236
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317236#FFFFFF#000000##FFFFFF
##3172361.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746831
Deuteranopia (green-blind)
#6B633A
Tritanopia (blue-blind)
#266F64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317236;
/* rgb */ color: rgb(49, 114, 54);
/* oklch */ color: oklch(49.4% 0.114 145.0);
Tailwind
colors: {
  custom: {
    50: '#6f9b6e',
    500: '#317236',
    950: '#000000',
  },
}
SCSS
$custom: #317236;
$custom-light: #6f9b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#317236",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 124.615,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.11361,
    "h": 145
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#317236
secondary
#A35C9D
accent
#58C7D0
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #317236

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

Preview Lab → · Contrast checker → · Palette generator →

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