#318D2D#318D2D

#318D2D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.159 H 142.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#318D2D
RGBrgb(49, 141, 45)
HSLhsl(118, 52%, 36%)
HSVhsv(118, 68%, 55%)
CMYKcmyk(65.2%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.71, -46.27, 41.81)
CIE-LCHlch(51.71, 62.36, 137.90°)
OKLaboklab(56.84% -0.1259 0.0964)
OKLCHoklch(56.84% 0.159 142.5)
XYZxyz(11.2645, 19.8911, 5.7278)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D2D #892D8D
analogous
#618D2D #318D2D #2D8D59
triadic
#318D2D #2D318D #8D2D31
tetradic
#318D2D #2D618D #892D8D #8D592D
square
#318D2D #2D618D #892D8D #8D592D
split-complementary
#318D2D #592D8D #8D2D61
monochromatic
#11300F #215F1E #318D2D #41BB3C #6BCE66

Accessibility & contrast

On white

4.22
#318D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#318D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318D2D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318D2D#FFFFFF#000000##000000
##318D2D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d2d;
/* rgb */ color: rgb(49, 141, 45);
/* oklch */ color: oklch(56.8% 0.159 142.5);
Tailwind
colors: {
  custom: {
    50: '#75af6b',
    500: '#318d2d',
    950: '#000000',
  },
}
SCSS
$custom: #318d2d;
$custom-light: #75af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#318d2d",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 117.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.15856,
    "h": 142.5
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#318D2D
secondary
#B161B5
accent
#4DDBD5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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