#315E2B#315E2B

#315E2B is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.6% C 0.094 H 141.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#315E2B
RGBrgb(49, 94, 43)
HSLhsl(113, 37%, 27%)
HSVhsv(113, 54%, 37%)
CMYKcmyk(47.9%, 0%, 54.3%, 63.1%)
CIE-LABlab(35.66, -26.90, 24.35)
CIE-LCHlch(35.66, 36.29, 137.85°)
OKLaboklab(43.62% -0.0734 0.0586)
OKLCHoklch(43.62% 0.094 141.4)
XYZxyz(5.7051, 8.8324, 3.6892)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E2B #582B5E
analogous
#4B5E2B #315E2B #2B5E3F
triadic
#315E2B #2B315E #5E2B31
tetradic
#315E2B #2B4B5E #582B5E #5E3F2B
square
#315E2B #2B4B5E #582B5E #5E3F2B
split-complementary
#315E2B #3F2B5E #5E2B4B
monochromatic
#0B150A #1B3418 #315E2B #47883E #5EB053

Accessibility & contrast

On white

7.59
#315E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315E2B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E2B#FFFFFF#000000##FFFFFF
##315E2B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#2C5B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315e2b;
/* rgb */ color: rgb(49, 94, 43);
/* oklch */ color: oklch(43.6% 0.094 141.4);
Tailwind
colors: {
  custom: {
    50: '#6d8c65',
    500: '#315e2b',
    950: '#000000',
  },
}
SCSS
$custom: #315e2b;
$custom-light: #6d8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#315e2b",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 112.941,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.09396,
    "h": 141.4
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#315E2B
secondary
#895590
accent
#5BCDC0
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #315E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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