#318518#318518

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

Color values

HEX#318518
RGBrgb(49, 133, 24)
HSLhsl(106, 69%, 31%)
HSVhsv(106, 82%, 52%)
CMYKcmyk(63.2%, 0%, 82%, 47.8%)
CIE-LABlab(48.88, -45.03, 46.94)
CIE-LCHlch(48.88, 65.05, 133.81°)
OKLaboklab(54.45% -0.1237 0.1043)
OKLCHoklch(54.45% 0.162 139.9)
XYZxyz(9.8186, 17.4931, 3.7230)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318518 #6C1885
analogous
#678518 #318518 #188536
triadic
#318518 #183185 #851831
tetradic
#318518 #186785 #6C1885 #853618
square
#318518 #186785 #6C1885 #853618
split-complementary
#318518 #361885 #851867
monochromatic
#0B1D05 #1E510F #318518 #44B921 #60DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318518#FFFFFF#000000##FFFFFF
##3185181.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)
#7F7225
Tritanopia (blue-blind)
#258071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318518;
/* rgb */ color: rgb(49, 133, 24);
/* oklch */ color: oklch(54.4% 0.162 139.9);
Tailwind
colors: {
  custom: {
    50: '#75a95f',
    500: '#318518',
    950: '#000000',
  },
}
SCSS
$custom: #318518;
$custom-light: #75a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#318518",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 106.239,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.16179,
    "h": 139.9
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#318518
secondary
#9D40B9
accent
#3CECC4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318518

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

Preview Lab → · Contrast checker → · Palette generator →

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