#315E1E#315E1E

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

Color values

HEX#315E1E
RGBrgb(49, 94, 30)
HSLhsl(102, 52%, 24%)
HSVhsv(102, 68%, 37%)
CMYKcmyk(47.9%, 0%, 68.1%, 63.1%)
CIE-LABlab(35.50, -28.56, 31.00)
CIE-LCHlch(35.50, 42.15, 132.65°)
OKLaboklab(43.44% -0.0788 0.0718)
OKLCHoklch(43.44% 0.107 137.7)
XYZxyz(5.5035, 8.7518, 2.6273)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E1E #4B1E5E
analogous
#515E1E #315E1E #1E5E2B
triadic
#315E1E #1E315E #5E1E31
tetradic
#315E1E #1E515E #4B1E5E #5E2B1E
square
#315E1E #1E515E #4B1E5E #5E2B1E
split-complementary
#315E1E #2B1E5E #5E1E51
monochromatic
#0C1707 #19300F #315E1E #498C2D #61BB3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E1E#FFFFFF#000000##FFFFFF
##315E1E1.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)
#615616
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#2E5B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315e1e;
/* rgb */ color: rgb(49, 94, 30);
/* oklch */ color: oklch(43.4% 0.107 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d8c5d',
    500: '#315e1e',
    950: '#000000',
  },
}
SCSS
$custom: #315e1e;
$custom-light: #6d8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#315e1e",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 30
  },
  "hsl": {
    "h": 102.188,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.10659,
    "h": 137.7
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#315E1E
secondary
#7C4593
accent
#4DDBB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #315E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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