#317751#317751

#317751 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.4% C 0.093 H 156.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#317751
RGBrgb(49, 119, 81)
HSLhsl(147, 42%, 33%)
HSVhsv(147, 59%, 47%)
CMYKcmyk(58.8%, 0%, 31.9%, 53.3%)
CIE-LABlab(44.86, -31.52, 14.46)
CIE-LCHlch(44.86, 34.68, 155.36°)
OKLaboklab(51.36% -0.086 0.0366)
OKLCHoklch(51.36% 0.093 156.9)
XYZxyz(9.3479, 14.4398, 10.0775)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317751 #773157
analogous
#347731 #317751 #317774
triadic
#317751 #513177 #775131
tetradic
#317751 #313477 #773157 #777431
square
#317751 #313477 #773157 #777431
split-complementary
#317751 #743177 #773134
monochromatic
#0D2016 #1F4C33 #317751 #43A26F #63BF8D

Accessibility & contrast

On white

5.40
#317751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#317751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317751
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317751#FFFFFF#000000##FFFFFF
##3177511.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E4F
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#19766D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317751;
/* rgb */ color: rgb(49, 119, 81);
/* oklch */ color: oklch(51.4% 0.093 156.9);
Tailwind
colors: {
  custom: {
    50: '#709f82',
    500: '#317751',
    950: '#000000',
  },
}
SCSS
$custom: #317751;
$custom-light: #709f82;
$custom-dark: #000000;
JSON
{
  "hex": "#317751",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 81
  },
  "hsl": {
    "h": 147.429,
    "s": 41.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.09347,
    "h": 156.9
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#317751
secondary
#A65D85
accent
#5699D1
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #317751

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

Preview Lab → · Contrast checker → · Palette generator →

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