#315E1C#315E1C

#315E1C is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.4% C 0.108 H 137.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#315E1C
RGBrgb(49, 94, 28)
HSLhsl(101, 54%, 24%)
HSVhsv(101, 70%, 37%)
CMYKcmyk(47.9%, 0%, 70.2%, 63.1%)
CIE-LABlab(35.48, -28.76, 31.94)
CIE-LCHlch(35.48, 42.98, 132.00°)
OKLaboklab(43.42% -0.0795 0.0735)
OKLCHoklch(43.42% 0.108 137.3)
XYZxyz(5.4788, 8.7419, 2.4970)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E1C #491C5E
analogous
#525E1C #315E1C #1C5E28
triadic
#315E1C #1C315E #5E1C31
tetradic
#315E1C #1C525E #491C5E #5E281C
square
#315E1C #1C525E #491C5E #5E281C
split-complementary
#315E1C #281C5E #5E1C52
monochromatic
#0C1807 #182F0E #315E1C #4A8D2A #62BC38

Accessibility & contrast

On white

7.64
#315E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#315E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E1C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E1C#FFFFFF#000000##FFFFFF
##315E1C1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615613
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#2F5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e1c;
/* rgb */ color: rgb(49, 94, 28);
/* oklch */ color: oklch(43.4% 0.108 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d8c5c',
    500: '#315e1c',
    950: '#000000',
  },
}
SCSS
$custom: #315e1c;
$custom-light: #6d8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#315e1c",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 100.909,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.10828,
    "h": 137.3
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#315E1C
secondary
#7A4293
accent
#4ADDAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #315E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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