#318D18#318D18

#318D18 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.171 H 140.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#318D18
RGBrgb(49, 141, 24)
HSLhsl(107, 71%, 32%)
HSVhsv(107, 83%, 55%)
CMYKcmyk(65.2%, 0%, 83%, 44.7%)
CIE-LABlab(51.57, -47.93, 49.46)
CIE-LCHlch(51.57, 68.87, 134.10°)
OKLaboklab(56.68% -0.1315 0.1095)
OKLCHoklch(56.68% 0.171 140.2)
XYZxyz(10.9558, 19.7676, 4.1021)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D18 #74188D
analogous
#6C8D18 #318D18 #188D39
triadic
#318D18 #18318D #8D1831
tetradic
#318D18 #186C8D #74188D #8D3918
square
#318D18 #186C8D #74188D #8D3918
split-complementary
#318D18 #39188D #8D186C
monochromatic
#0D2406 #1F590F #318D18 #43C121 #63DF41

Accessibility & contrast

On white

4.24
#318D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#318D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318D18
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318D18#FFFFFF#000000##000000
##318D181.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#238878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d18;
/* rgb */ color: rgb(49, 141, 24);
/* oklch */ color: oklch(56.7% 0.171 140.2);
Tailwind
colors: {
  custom: {
    50: '#76af60',
    500: '#318d18',
    950: '#000000',
  },
}
SCSS
$custom: #318d18;
$custom-light: #76af60;
$custom-dark: #000000;
JSON
{
  "hex": "#318d18",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 107.179,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.17115,
    "h": 140.2
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

primary
#318D18
secondary
#A442BF
accent
#3AEEC7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #318D18

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

Preview Lab → · Contrast checker → · Palette generator →

#318D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva