#317528#317528

#317528 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.1% C 0.131 H 141.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#317528
RGBrgb(49, 117, 40)
HSLhsl(113, 49%, 31%)
HSVhsv(113, 66%, 46%)
CMYKcmyk(58.1%, 0%, 65.8%, 54.1%)
CIE-LABlab(43.55, -37.46, 35.11)
CIE-LCHlch(43.55, 51.34, 136.85°)
OKLaboklab(50.08% -0.1023 0.0817)
OKLCHoklch(50.08% 0.131 141.4)
XYZxyz(8.0105, 13.5281, 4.1961)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317528 #6C2875
analogous
#577528 #317528 #287545
triadic
#317528 #283175 #752831
tetradic
#317528 #285775 #6C2875 #754528
square
#317528 #285775 #6C2875 #754528
split-complementary
#317528 #452875 #752857
monochromatic
#0B1A09 #1E4718 #317528 #44A338 #60C453

Accessibility & contrast

On white

5.67
#317528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#317528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317528
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317528#FFFFFF#000000##FFFFFF
##3175281.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1F
Deuteranopia (green-blind)
#6F652E
Tritanopia (blue-blind)
#287165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317528;
/* rgb */ color: rgb(49, 117, 40);
/* oklch */ color: oklch(50.1% 0.131 141.4);
Tailwind
colors: {
  custom: {
    50: '#719d65',
    500: '#317528',
    950: '#000000',
  },
}
SCSS
$custom: #317528;
$custom-light: #719d65;
$custom-dark: #000000;
JSON
{
  "hex": "#317528",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 112.987,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.13089,
    "h": 141.4
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#317528
secondary
#9D52A7
accent
#4FD9C9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #317528

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

Preview Lab → · Contrast checker → · Palette generator →

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