#315F28#315F28

#315F28 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.9% C 0.099 H 140.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#315F28
RGBrgb(49, 95, 40)
HSLhsl(110, 41%, 26%)
HSVhsv(110, 58%, 37%)
CMYKcmyk(48.4%, 0%, 57.9%, 62.7%)
CIE-LABlab(35.97, -27.80, 26.37)
CIE-LCHlch(35.97, 38.32, 136.51°)
OKLaboklab(43.86% -0.0761 0.0628)
OKLCHoklch(43.86% 0.099 140.4)
XYZxyz(5.7416, 8.9902, 3.4398)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F28 #56285F
analogous
#4D5F28 #315F28 #285F3B
triadic
#315F28 #28315F #5F2831
tetradic
#315F28 #284D5F #56285F #5F3B28
square
#315F28 #284D5F #56285F #5F3B28
split-complementary
#315F28 #3B285F #5F284D
monochromatic
#0B1609 #1B3416 #315F28 #478A3A #5EB44D

Accessibility & contrast

On white

7.50
#315F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#315F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315F28
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F28#FFFFFF#000000##FFFFFF
##315F281.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#2D5C53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #315f28;
/* rgb */ color: rgb(49, 95, 40);
/* oklch */ color: oklch(43.9% 0.099 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d8d63',
    500: '#315f28',
    950: '#000000',
  },
}
SCSS
$custom: #315f28;
$custom-light: #6d8d63;
$custom-dark: #000000;
JSON
{
  "hex": "#315f28",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 110.182,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43855,
    "c": 0.09866,
    "h": 140.4
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#315F28
secondary
#875192
accent
#57D1BD
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #315F28

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

Preview Lab → · Contrast checker → · Palette generator →

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