#315E2D#315E2D

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

Color values

HEX#315E2D
RGBrgb(49, 94, 45)
HSLhsl(115, 35%, 27%)
HSVhsv(115, 52%, 37%)
CMYKcmyk(47.9%, 0%, 52.1%, 63.1%)
CIE-LABlab(35.69, -26.60, 23.26)
CIE-LCHlch(35.69, 35.34, 138.83°)
OKLaboklab(43.65% -0.0725 0.0563)
OKLCHoklch(43.65% 0.092 142.2)
XYZxyz(5.7427, 8.8475, 3.8872)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E2D #5A2D5E
analogous
#4A5E2D #315E2D #2D5E42
triadic
#315E2D #2D315E #5E2D31
tetradic
#315E2D #2D4A5E #5A2D5E #5E422D
square
#315E2D #2D4A5E #5A2D5E #5E422D
split-complementary
#315E2D #422D5E #5E2D4A
monochromatic
#0B150A #1B3519 #315E2D #478741 #5EAF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E2D#FFFFFF#000000##FFFFFF
##315E2D1.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)
#605629
Deuteranopia (green-blind)
#5A5230
Tritanopia (blue-blind)
#2C5B53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315e2d;
/* rgb */ color: rgb(49, 94, 45);
/* oklch */ color: oklch(43.7% 0.092 142.2);
Tailwind
colors: {
  custom: {
    50: '#6c8c67',
    500: '#315e2d',
    950: '#000000',
  },
}
SCSS
$custom: #315e2d;
$custom-light: #6c8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#315e2d",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 45
  },
  "hsl": {
    "h": 115.102,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.09181,
    "h": 142.2
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#315E2D
secondary
#8B5790
accent
#5DCBC2
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #315E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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