#315E2E#315E2E

#315E2E is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.091 H 142.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#315E2E
RGBrgb(49, 94, 46)
HSLhsl(116, 34%, 27%)
HSVhsv(116, 51%, 37%)
CMYKcmyk(47.9%, 0%, 51.1%, 63.1%)
CIE-LABlab(35.70, -26.44, 22.72)
CIE-LCHlch(35.70, 34.86, 139.34°)
OKLaboklab(43.67% -0.0721 0.0551)
OKLCHoklch(43.67% 0.091 142.6)
XYZxyz(5.7622, 8.8553, 3.9898)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E2E #5B2E5E
analogous
#495E2E #315E2E #2E5E43
triadic
#315E2E #2E315E #5E2E31
tetradic
#315E2E #2E495E #5B2E5E #5E432E
square
#315E2E #2E495E #5B2E5E #5E432E
split-complementary
#315E2E #432E5E #5E2E49
monochromatic
#0B150A #1C351A #315E2E #468742 #5EAE59

Accessibility & contrast

On white

7.58
#315E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#315E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E2E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E2E#FFFFFF#000000##FFFFFF
##315E2E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572A
Deuteranopia (green-blind)
#5A5231
Tritanopia (blue-blind)
#2C5B53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315e2e;
/* rgb */ color: rgb(49, 94, 46);
/* oklch */ color: oklch(43.7% 0.091 142.6);
Tailwind
colors: {
  custom: {
    50: '#6c8c68',
    500: '#315e2e',
    950: '#000000',
  },
}
SCSS
$custom: #315e2e;
$custom-light: #6c8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#315e2e",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 46
  },
  "hsl": {
    "h": 116.25,
    "s": 34.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.09072,
    "h": 142.6
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#315E2E
secondary
#8C5890
accent
#5DCAC4
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #315E2E

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

Preview Lab → · Contrast checker → · Palette generator →

#315E2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva