#315E26#315E26

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

Color values

HEX#315E26
RGBrgb(49, 94, 38)
HSLhsl(108, 42%, 26%)
HSVhsv(108, 60%, 37%)
CMYKcmyk(47.9%, 0%, 59.6%, 63.1%)
CIE-LABlab(35.59, -27.60, 27.01)
CIE-LCHlch(35.59, 38.62, 135.63°)
OKLaboklab(43.54% -0.0756 0.064)
OKLCHoklch(43.54% 0.099 139.8)
XYZxyz(5.6190, 8.7980, 3.2354)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E26 #53265E
analogous
#4D5E26 #315E26 #265E37
triadic
#315E26 #26315E #5E2631
tetradic
#315E26 #264D5E #53265E #5E3726
square
#315E26 #264D5E #53265E #5E3726
split-complementary
#315E26 #37265E #5E264D
monochromatic
#0B1609 #1A3214 #315E26 #488A38 #5EB549

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315E26#FFFFFF#000000##FFFFFF
##315E261.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)
#615621
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#2D5B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315e26;
/* rgb */ color: rgb(49, 94, 38);
/* oklch */ color: oklch(43.5% 0.099 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d8c62',
    500: '#315e26',
    950: '#000000',
  },
}
SCSS
$custom: #315e26;
$custom-light: #6d8c62;
$custom-dark: #000000;
JSON
{
  "hex": "#315e26",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 38
  },
  "hsl": {
    "h": 108.214,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43541,
    "c": 0.0991,
    "h": 139.8
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#315E26
secondary
#844F91
accent
#56D2BA
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #315E26

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

Preview Lab → · Contrast checker → · Palette generator →

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