#318D1E#318D1E

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

Color values

HEX#318D1E
RGBrgb(49, 141, 30)
HSLhsl(110, 65%, 34%)
HSVhsv(110, 79%, 55%)
CMYKcmyk(65.2%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.61, -47.55, 47.58)
CIE-LCHlch(51.61, 67.27, 134.99°)
OKLaboklab(56.72% -0.1302 0.1065)
OKLCHoklch(56.72% 0.168 140.7)
XYZxyz(11.0253, 19.7954, 4.4679)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D1E #7A1E8D
analogous
#688D1E #318D1E #1E8D42
triadic
#318D1E #1E318D #8D1E31
tetradic
#318D1E #1E688D #7A1E8D #8D421E
square
#318D1E #1E688D #7A1E8D #8D421E
split-complementary
#318D1E #421E8D #8D1E68
monochromatic
#0E2809 #1F5B13 #318D1E #43BF29 #64D94C

Accessibility & contrast

On white

4.23
#318D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#318D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318D1E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318D1E#FFFFFF#000000##000000
##318D1E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918002
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#228878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d1e;
/* rgb */ color: rgb(49, 141, 30);
/* oklch */ color: oklch(56.7% 0.168 140.7);
Tailwind
colors: {
  custom: {
    50: '#76af63',
    500: '#318d1e',
    950: '#000000',
  },
}
SCSS
$custom: #318d1e;
$custom-light: #76af63;
$custom-dark: #000000;
JSON
{
  "hex": "#318d1e",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 109.73,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.16818,
    "h": 140.7
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#318D1E
secondary
#A84BBC
accent
#40E8CB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #318D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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