#318918#318918

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

Color values

HEX#318918
RGBrgb(49, 137, 24)
HSLhsl(107, 70%, 32%)
HSVhsv(107, 82%, 54%)
CMYKcmyk(64.2%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.23, -46.49, 48.21)
CIE-LCHlch(50.23, 66.97, 133.96°)
OKLaboklab(55.56% -0.1276 0.1069)
OKLCHoklch(55.56% 0.167 140)
XYZxyz(10.3767, 18.6092, 3.9091)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318918 #701889
analogous
#6A8918 #318918 #188938
triadic
#318918 #183189 #891831
tetradic
#318918 #186A89 #701889 #893818
square
#318918 #186A89 #701889 #893818
split-complementary
#318918 #381889 #89186A
monochromatic
#0C2106 #1E550F #318918 #44BD21 #61DD3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318918#FFFFFF#000000##000000
##3189181.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)
#827526
Tritanopia (blue-blind)
#248474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #318918;
/* rgb */ color: rgb(49, 137, 24);
/* oklch */ color: oklch(55.6% 0.167 140.0);
Tailwind
colors: {
  custom: {
    50: '#75ac60',
    500: '#318918',
    950: '#000000',
  },
}
SCSS
$custom: #318918;
$custom-light: #75ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#318918",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 106.726,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.1665,
    "h": 140
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#318918
secondary
#A140BD
accent
#3BEDC6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318918

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

Preview Lab → · Contrast checker → · Palette generator →

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