#318016#318016

#318016 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.157 H 139.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#318016
RGBrgb(49, 128, 22)
HSLhsl(105, 71%, 29%)
HSVhsv(105, 83%, 50%)
CMYKcmyk(61.7%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.17, -43.29, 45.96)
CIE-LCHlch(47.17, 63.14, 133.28°)
OKLaboklab(53.03% -0.1191 0.1019)
OKLCHoklch(53.03% 0.157 139.5)
XYZxyz(9.1302, 16.1484, 3.3947)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318016 #651680
analogous
#668016 #318016 #168030
triadic
#318016 #163180 #801631
tetradic
#318016 #166680 #651680 #803016
square
#318016 #166680 #651680 #803016
split-complementary
#318016 #301680 #801666
monochromatic
#0A1A04 #1D4C0D #318016 #45B41F #5FDC34

Accessibility & contrast

On white

4.96
#318016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#318016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318016
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318016#FFFFFF#000000##FFFFFF
##3180161.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#277B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #318016;
/* rgb */ color: rgb(49, 128, 22);
/* oklch */ color: oklch(53.0% 0.157 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a65d',
    500: '#318016',
    950: '#000000',
  },
}
SCSS
$custom: #318016;
$custom-light: #74a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#318016",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 104.717,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.15679,
    "h": 139.5
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#318016
secondary
#963DB5
accent
#3AEDC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #318016

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

Preview Lab → · Contrast checker → · Palette generator →

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