#318416#318416

#318416 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.162 H 139.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#318416
RGBrgb(49, 132, 22)
HSLhsl(105, 71%, 30%)
HSVhsv(105, 83%, 52%)
CMYKcmyk(62.9%, 0%, 83.3%, 48.2%)
CIE-LABlab(48.53, -44.78, 47.23)
CIE-LCHlch(48.53, 65.08, 133.47°)
OKLaboklab(54.15% -0.1231 0.1046)
OKLCHoklch(54.15% 0.162 139.7)
XYZxyz(9.6623, 17.2125, 3.5721)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318416 #691684
analogous
#688416 #318416 #168432
triadic
#318416 #163184 #841631
tetradic
#318416 #166884 #691684 #843216
square
#318416 #166884 #691684 #843216
split-complementary
#318416 #321684 #841668
monochromatic
#0A1B05 #1E500D #318416 #44B81F #60DE37

Accessibility & contrast

On white

4.73
#318416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#318416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318416
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318416#FFFFFF#000000##FFFFFF
##3184161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#267F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #318416;
/* rgb */ color: rgb(49, 132, 22);
/* oklch */ color: oklch(54.2% 0.162 139.7);
Tailwind
colors: {
  custom: {
    50: '#75a95e',
    500: '#318416',
    950: '#000000',
  },
}
SCSS
$custom: #318416;
$custom-light: #75a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#318416",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 105.273,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.16155,
    "h": 139.7
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#318416
secondary
#9A3DB8
accent
#3AEEC2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318416

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

Preview Lab → · Contrast checker → · Palette generator →

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