#318916#318916

#318916 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.167 H 139.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#318916
RGBrgb(49, 137, 22)
HSLhsl(106, 72%, 31%)
HSVhsv(106, 84%, 54%)
CMYKcmyk(64.2%, 0%, 83.9%, 46.3%)
CIE-LABlab(50.22, -46.60, 48.79)
CIE-LCHlch(50.22, 67.47, 133.69°)
OKLaboklab(55.55% -0.128 0.1078)
OKLCHoklch(55.55% 0.167 139.9)
XYZxyz(10.3566, 18.6012, 3.8035)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318916 #6E1689
analogous
#6A8916 #318916 #168934
triadic
#318916 #163189 #891631
tetradic
#318916 #166A89 #6E1689 #893416
square
#318916 #166A89 #6E1689 #893416
split-complementary
#318916 #341689 #89166A
monochromatic
#0B2005 #1E540E #318916 #44BE1E #61DF3A

Accessibility & contrast

On white

4.45
#318916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#318916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318916
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318916#FFFFFF#000000##000000
##3189161.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#248474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #318916;
/* rgb */ color: rgb(49, 137, 22);
/* oklch */ color: oklch(55.6% 0.167 139.9);
Tailwind
colors: {
  custom: {
    50: '#76ac5f',
    500: '#318916',
    950: '#000000',
  },
}
SCSS
$custom: #318916;
$custom-light: #76ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#318916",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 105.913,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.1674,
    "h": 139.9
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

primary
#318916
secondary
#9F3EBD
accent
#39EFC4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318916

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

Preview Lab → · Contrast checker → · Palette generator →

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