#317135#317135

#317135 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.113 H 144.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#317135
RGBrgb(49, 113, 53)
HSLhsl(124, 40%, 32%)
HSVhsv(124, 57%, 44%)
CMYKcmyk(56.6%, 0%, 53.1%, 55.7%)
CIE-LABlab(42.34, -34.05, 27.05)
CIE-LCHlch(42.34, 43.48, 141.53°)
OKLaboklab(49.14% -0.0924 0.0653)
OKLCHoklch(49.14% 0.113 144.8)
XYZxyz(7.8139, 12.7196, 5.4108)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317135 #71316D
analogous
#4D7131 #317135 #317155
triadic
#317135 #353171 #713531
tetradic
#317135 #314D71 #71316D #715531
square
#317135 #314D71 #71316D #715531
split-complementary
#317135 #553171 #71314D
monochromatic
#0C1C0D #1E4621 #317135 #449C49 #62BB67

Accessibility & contrast

On white

5.93
#317135 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#317135 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317135
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317135#FFFFFF#000000##FFFFFF
##3171351.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736730
Deuteranopia (green-blind)
#6A6239
Tritanopia (blue-blind)
#266E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317135;
/* rgb */ color: rgb(49, 113, 53);
/* oklch */ color: oklch(49.1% 0.113 144.8);
Tailwind
colors: {
  custom: {
    50: '#6f9a6e',
    500: '#317135',
    950: '#000000',
  },
}
SCSS
$custom: #317135;
$custom-light: #6f9a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#317135",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 53
  },
  "hsl": {
    "h": 123.75,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.11311,
    "h": 144.8
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#317135
secondary
#A25C9E
accent
#58C8CF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #317135

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

Preview Lab → · Contrast checker → · Palette generator →

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