#318618#318618

#318618 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.163 H 139.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#318618
RGBrgb(49, 134, 24)
HSLhsl(106, 70%, 31%)
HSVhsv(106, 82%, 53%)
CMYKcmyk(63.4%, 0%, 82.1%, 47.5%)
CIE-LABlab(49.21, -45.40, 47.26)
CIE-LCHlch(49.21, 65.53, 133.85°)
OKLaboklab(54.73% -0.1247 0.1049)
OKLCHoklch(54.73% 0.163 139.9)
XYZxyz(9.9561, 17.7682, 3.7689)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318618 #6D1886
analogous
#688618 #318618 #188636
triadic
#318618 #183186 #861831
tetradic
#318618 #186886 #6D1886 #863618
square
#318618 #186886 #6D1886 #863618
split-complementary
#318618 #361886 #861868
monochromatic
#0B1E05 #1E520F #318618 #44BA21 #61DC3C

Accessibility & contrast

On white

4.61
#318618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#318618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318618
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318618#FFFFFF#000000##FFFFFF
##3186181.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#258172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #318618;
/* rgb */ color: rgb(49, 134, 24);
/* oklch */ color: oklch(54.7% 0.163 139.9);
Tailwind
colors: {
  custom: {
    50: '#75aa5f',
    500: '#318618',
    950: '#000000',
  },
}
SCSS
$custom: #318618;
$custom-light: #75aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#318618",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 106.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.16297,
    "h": 139.9
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#318618
secondary
#9E40BA
accent
#3BECC4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318618

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

Preview Lab → · Contrast checker → · Palette generator →

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