#317D35#317D35

#317D35 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.131 H 144.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#317D35
RGBrgb(49, 125, 53)
HSLhsl(123, 44%, 34%)
HSVhsv(123, 61%, 49%)
CMYKcmyk(60.8%, 0%, 57.6%, 51%)
CIE-LABlab(46.41, -39.10, 31.98)
CIE-LCHlch(46.41, 50.52, 140.72°)
OKLaboklab(52.49% -0.1061 0.0762)
OKLCHoklch(52.49% 0.131 144.3)
XYZxyz(9.2423, 15.5764, 5.8870)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D35 #7D3179
analogous
#537D31 #317D35 #317D5B
triadic
#317D35 #35317D #7D3531
tetradic
#317D35 #31537D #7D3179 #7D5B31
square
#317D35 #31537D #7D3179 #7D5B31
split-complementary
#317D35 #5B317D #7D3153
monochromatic
#0F2510 #205122 #317D35 #42A948 #66C36A

Accessibility & contrast

On white

5.10
#317D35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#317D35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D35
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D35#FFFFFF#000000##FFFFFF
##317D351.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722E
Deuteranopia (green-blind)
#766B3A
Tritanopia (blue-blind)
#237A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d35;
/* rgb */ color: rgb(49, 125, 53);
/* oklch */ color: oklch(52.5% 0.131 144.3);
Tailwind
colors: {
  custom: {
    50: '#72a36e',
    500: '#317d35',
    950: '#000000',
  },
}
SCSS
$custom: #317d35;
$custom-light: #72a36e;
$custom-dark: #000000;
JSON
{
  "hex": "#317d35",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 123.158,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.13057,
    "h": 144.3
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#317D35
secondary
#AA60A6
accent
#54CDD3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #317D35

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

Preview Lab → · Contrast checker → · Palette generator →

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