#318147#318147

#318147 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.119 H 149.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#318147
RGBrgb(49, 129, 71)
HSLhsl(137, 45%, 35%)
HSVhsv(137, 62%, 51%)
CMYKcmyk(62%, 0%, 45%, 49.4%)
CIE-LABlab(48.02, -37.91, 24.35)
CIE-LCHlch(48.02, 45.06, 147.29°)
OKLaboklab(53.89% -0.1025 0.06)
OKLCHoklch(53.89% 0.119 149.7)
XYZxyz(10.2535, 16.8074, 8.6638)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318147 #81316B
analogous
#438131 #318147 #31816F
triadic
#318147 #473181 #814731
tetradic
#318147 #314381 #81316B #816F31
square
#318147 #314381 #81316B #816F31
split-complementary
#318147 #6F3181 #813143
monochromatic
#0F2816 #20552F #318147 #42AD5F #67C581

Accessibility & contrast

On white

4.81
#318147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#318147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318147
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318147#FFFFFF#000000##FFFFFF
##3181471.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827643
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#1A7F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318147;
/* rgb */ color: rgb(49, 129, 71);
/* oklch */ color: oklch(53.9% 0.119 149.7);
Tailwind
colors: {
  custom: {
    50: '#72a67b',
    500: '#318147',
    950: '#000000',
  },
}
SCSS
$custom: #318147;
$custom-light: #72a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#318147",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 136.5,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.11874,
    "h": 149.7
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#318147
secondary
#AD6198
accent
#53B1D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #318147

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

Preview Lab → · Contrast checker → · Palette generator →

#318147 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva