#317D2B#317D2B

#317D2B is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.139 H 142.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#317D2B
RGBrgb(49, 125, 43)
HSLhsl(116, 49%, 33%)
HSVhsv(116, 66%, 49%)
CMYKcmyk(60.8%, 0%, 65.6%, 51%)
CIE-LABlab(46.30, -40.35, 36.77)
CIE-LCHlch(46.30, 54.59, 137.66°)
OKLaboklab(52.36% -0.1099 0.0855)
OKLCHoklch(52.36% 0.139 142.1)
XYZxyz(9.0358, 15.4938, 4.7995)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D2B #772B7D
analogous
#5A7D2B #317D2B #2B7D4E
triadic
#317D2B #2B317D #7D2B31
tetradic
#317D2B #2B5A7D #772B7D #7D4E2B
square
#317D2B #2B5A7D #772B7D #7D4E2B
split-complementary
#317D2B #4E2B7D #7D2B5A
monochromatic
#0D220C #1F4F1B #317D2B #43AB3B #63C75C

Accessibility & contrast

On white

5.12
#317D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#317D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D2B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D2B#FFFFFF#000000##FFFFFF
##317D2B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#25796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317d2b;
/* rgb */ color: rgb(49, 125, 43);
/* oklch */ color: oklch(52.4% 0.139 142.1);
Tailwind
colors: {
  custom: {
    50: '#72a368',
    500: '#317d2b',
    950: '#000000',
  },
}
SCSS
$custom: #317d2b;
$custom-light: #72a368;
$custom-dark: #000000;
JSON
{
  "hex": "#317d2b",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 115.61,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.13929,
    "h": 142.1
  },
  "luminance": 0.15495
}

Semantic roles & 50–950 ramp

primary
#317D2B
secondary
#A657AD
accent
#4FD8CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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