#315E27#315E27

#315E27 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.6% C 0.098 H 140.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#315E27
RGBrgb(49, 94, 39)
HSLhsl(109, 41%, 26%)
HSVhsv(109, 59%, 37%)
CMYKcmyk(47.9%, 0%, 58.5%, 63.1%)
CIE-LABlab(35.61, -27.47, 26.48)
CIE-LCHlch(35.61, 38.16, 136.05°)
OKLaboklab(43.56% -0.0752 0.063)
OKLCHoklch(43.56% 0.098 140.1)
XYZxyz(5.6353, 8.8045, 3.3216)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E27 #54275E
analogous
#4C5E27 #315E27 #275E38
triadic
#315E27 #27315E #5E2731
tetradic
#315E27 #274C5E #54275E #5E3827
square
#315E27 #274C5E #54275E #5E3827
split-complementary
#315E27 #38275E #5E274C
monochromatic
#0B1609 #1A3315 #315E27 #488939 #5EB44B

Accessibility & contrast

On white

7.61
#315E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#315E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E27
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E27#FFFFFF#000000##FFFFFF
##315E271.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615622
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#2D5B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315e27;
/* rgb */ color: rgb(49, 94, 39);
/* oklch */ color: oklch(43.6% 0.098 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d8c63',
    500: '#315e27',
    950: '#000000',
  },
}
SCSS
$custom: #315e27;
$custom-light: #6d8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#315e27",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 39
  },
  "hsl": {
    "h": 109.091,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43556,
    "c": 0.0981,
    "h": 140.1
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#315E27
secondary
#855091
accent
#57D1BB
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #315E27

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

Preview Lab → · Contrast checker → · Palette generator →

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