#315E1D#315E1D

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

Color values

HEX#315E1D
RGBrgb(49, 94, 29)
HSLhsl(102, 53%, 24%)
HSVhsv(102, 69%, 37%)
CMYKcmyk(47.9%, 0%, 69.1%, 63.1%)
CIE-LABlab(35.49, -28.66, 31.48)
CIE-LCHlch(35.49, 42.57, 132.32°)
OKLaboklab(43.43% -0.0792 0.0726)
OKLCHoklch(43.43% 0.107 137.5)
XYZxyz(5.4909, 8.7467, 2.5611)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E1D #4A1D5E
analogous
#525E1D #315E1D #1D5E29
triadic
#315E1D #1D315E #5E1D31
tetradic
#315E1D #1D525E #4A1D5E #5E291D
square
#315E1D #1D525E #4A1D5E #5E291D
split-complementary
#315E1D #291D5E #5E1D52
monochromatic
#0C1707 #192F0F #315E1D #498D2B #62BC3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E1D#FFFFFF#000000##FFFFFF
##315E1D1.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)
#615615
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#2E5B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e1d;
/* rgb */ color: rgb(49, 94, 29);
/* oklch */ color: oklch(43.4% 0.107 137.5);
Tailwind
colors: {
  custom: {
    50: '#6d8c5c',
    500: '#315e1d',
    950: '#000000',
  },
}
SCSS
$custom: #315e1d;
$custom-light: #6d8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#315e1d",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 29
  },
  "hsl": {
    "h": 101.538,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.10744,
    "h": 137.5
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#315E1D
secondary
#7B4493
accent
#4CDCB0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #315E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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