#315D24#315D24

#315D24 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.100 H 139.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#315D24
RGBrgb(49, 93, 36)
HSLhsl(106, 44%, 25%)
HSVhsv(106, 61%, 36%)
CMYKcmyk(47.3%, 0%, 61.3%, 63.5%)
CIE-LABlab(35.22, -27.39, 27.63)
CIE-LCHlch(35.22, 38.91, 134.75°)
OKLaboklab(43.23% -0.0752 0.0652)
OKLCHoklch(43.23% 0.1 139.1)
XYZxyz(5.4992, 8.6087, 3.0406)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D24 #50245D
analogous
#4D5D24 #315D24 #245D33
triadic
#315D24 #24315D #5D2431
tetradic
#315D24 #244D5D #50245D #5D3324
square
#315D24 #244D5D #50245D #5D3324
split-complementary
#315D24 #33245D #5D244D
monochromatic
#0C1609 #1A3113 #315D24 #488935 #5FB546

Accessibility & contrast

On white

7.72
#315D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#315D24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315D24
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D24#FFFFFF#000000##FFFFFF
##315D241.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551E
Deuteranopia (green-blind)
#5A5128
Tritanopia (blue-blind)
#2E5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315d24;
/* rgb */ color: rgb(49, 93, 36);
/* oklch */ color: oklch(43.2% 0.100 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d8b61',
    500: '#315d24',
    950: '#000000',
  },
}
SCSS
$custom: #315d24;
$custom-light: #6d8b61;
$custom-dark: #000000;
JSON
{
  "hex": "#315d24",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 36
  },
  "hsl": {
    "h": 106.316,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.09953,
    "h": 139.1
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#315D24
secondary
#814C91
accent
#54D4B7
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #315D24

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

Preview Lab → · Contrast checker → · Palette generator →

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