#317331#317331

#317331 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.6% C 0.120 H 143.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#317331
RGBrgb(49, 115, 49)
HSLhsl(120, 40%, 32%)
HSVhsv(120, 57%, 45%)
CMYKcmyk(57.4%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.97, -35.49, 29.94)
CIE-LCHlch(42.97, 46.43, 139.84°)
OKLaboklab(49.64% -0.0965 0.0714)
OKLCHoklch(49.64% 0.12 143.5)
XYZxyz(7.9513, 13.1355, 5.0215)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317331 #733173
analogous
#527331 #317331 #317352
triadic
#317331 #313173 #733131
tetradic
#317331 #315273 #733173 #735231
square
#317331 #315273 #733173 #735231
split-complementary
#317331 #523173 #733152
monochromatic
#0C1D0C #1F481F #317331 #439E43 #62BC62

Accessibility & contrast

On white

5.79
#317331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#317331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317331
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317331#FFFFFF#000000##FFFFFF
##3173311.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6D6336
Tritanopia (blue-blind)
#277064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317331;
/* rgb */ color: rgb(49, 115, 49);
/* oklch */ color: oklch(49.6% 0.120 143.5);
Tailwind
colors: {
  custom: {
    50: '#709c6b',
    500: '#317331',
    950: '#000000',
  },
}
SCSS
$custom: #317331;
$custom-light: #709c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#317331",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.11999,
    "h": 143.5
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#317331
secondary
#A45CA4
accent
#58D0D0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #317331

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

Preview Lab → · Contrast checker → · Palette generator →

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