#318516#318516

#318516 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.163 H 139.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#318516
RGBrgb(49, 133, 22)
HSLhsl(105, 72%, 30%)
HSVhsv(105, 83%, 52%)
CMYKcmyk(63.2%, 0%, 83.5%, 47.8%)
CIE-LABlab(48.87, -45.15, 47.54)
CIE-LCHlch(48.87, 65.56, 133.52°)
OKLaboklab(54.43% -0.1241 0.1052)
OKLCHoklch(54.43% 0.163 139.7)
XYZxyz(9.7985, 17.4850, 3.6175)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318516 #6A1685
analogous
#698516 #318516 #168532
triadic
#318516 #163185 #851631
tetradic
#318516 #166985 #6A1685 #853216
square
#318516 #166985 #6A1685 #853216
split-complementary
#318516 #321685 #851669
monochromatic
#0A1C05 #1E500D #318516 #44BA1F #60DE37

Accessibility & contrast

On white

4.67
#318516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#318516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318516
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318516#FFFFFF#000000##FFFFFF
##3185161.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#268071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318516;
/* rgb */ color: rgb(49, 133, 22);
/* oklch */ color: oklch(54.4% 0.163 139.7);
Tailwind
colors: {
  custom: {
    50: '#75a95e',
    500: '#318516',
    950: '#000000',
  },
}
SCSS
$custom: #318516;
$custom-light: #75a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#318516",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 105.405,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54434,
    "c": 0.16273,
    "h": 139.7
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#318516
secondary
#9B3EB9
accent
#39EEC2
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318516

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

Preview Lab → · Contrast checker → · Palette generator →

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