#318D20#318D20

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

Color values

HEX#318D20
RGBrgb(49, 141, 32)
HSLhsl(111, 63%, 34%)
HSVhsv(111, 77%, 55%)
CMYKcmyk(65.2%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.62, -47.41, 46.89)
CIE-LCHlch(51.62, 66.68, 135.32°)
OKLaboklab(56.73% -0.1297 0.1053)
OKLCHoklch(56.73% 0.167 140.9)
XYZxyz(11.0517, 19.8059, 4.6067)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D20 #7C208D
analogous
#688D20 #318D20 #208D46
triadic
#318D20 #20318D #8D2031
tetradic
#318D20 #20688D #7C208D #8D4620
square
#318D20 #20688D #7C208D #8D4620
split-complementary
#318D20 #46208D #8D2068
monochromatic
#0E2909 #205B15 #318D20 #42BF2B #65D750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318D20#FFFFFF#000000##000000
##318D201.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)
#918007
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#218878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d20;
/* rgb */ color: rgb(49, 141, 32);
/* oklch */ color: oklch(56.7% 0.167 140.9);
Tailwind
colors: {
  custom: {
    50: '#76af64',
    500: '#318d20',
    950: '#000000',
  },
}
SCSS
$custom: #318d20;
$custom-light: #76af64;
$custom-dark: #000000;
JSON
{
  "hex": "#318d20",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 110.642,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.16708,
    "h": 140.9
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#318D20
secondary
#AA4EBA
accent
#42E6CC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318D20

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

Preview Lab → · Contrast checker → · Palette generator →

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