#315E22#315E22

#315E22 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.103 H 138.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#315E22
RGBrgb(49, 94, 34)
HSLhsl(105, 47%, 25%)
HSVhsv(105, 64%, 37%)
CMYKcmyk(47.9%, 0%, 63.8%, 63.1%)
CIE-LABlab(35.54, -28.10, 29.05)
CIE-LCHlch(35.54, 40.42, 134.05°)
OKLaboklab(43.49% -0.0773 0.0681)
OKLCHoklch(43.49% 0.103 138.6)
XYZxyz(5.5579, 8.7735, 2.9137)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E22 #4F225E
analogous
#4F5E22 #315E22 #225E31
triadic
#315E22 #22315E #5E2231
tetradic
#315E22 #224F5E #4F225E #5E3122
square
#315E22 #224F5E #4F225E #5E3122
split-complementary
#315E22 #31225E #5E224F
monochromatic
#0C1608 #1A3112 #315E22 #488B32 #60B843

Accessibility & contrast

On white

7.62
#315E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315E22
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E22#FFFFFF#000000##FFFFFF
##315E221.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#2E5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315e22;
/* rgb */ color: rgb(49, 94, 34);
/* oklch */ color: oklch(43.5% 0.103 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d8c5f',
    500: '#315e22',
    950: '#000000',
  },
}
SCSS
$custom: #315e22;
$custom-light: #6d8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#315e22",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 34
  },
  "hsl": {
    "h": 105,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.10298,
    "h": 138.6
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#315E22
secondary
#804A92
accent
#51D7B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #315E22

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

Preview Lab → · Contrast checker → · Palette generator →

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