#318D22#318D22

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

Color values

HEX#318D22
RGBrgb(49, 141, 34)
HSLhsl(112, 61%, 34%)
HSVhsv(112, 76%, 55%)
CMYKcmyk(65.2%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.63, -47.26, 46.18)
CIE-LCHlch(51.63, 66.07, 135.66°)
OKLaboklab(56.74% -0.1292 0.1041)
OKLCHoklch(56.74% 0.166 141.1)
XYZxyz(11.0797, 19.8171, 4.7543)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D22 #7E228D
analogous
#678D22 #318D22 #228D49
triadic
#318D22 #22318D #8D2231
tetradic
#318D22 #22678D #7E228D #8D4922
square
#318D22 #22678D #7E228D #8D4922
split-complementary
#318D22 #49228D #8D2267
monochromatic
#0F2A0A #205C16 #318D22 #42BE2E #66D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318D22#FFFFFF#000000##000000
##318D221.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)
#91800D
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#218878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d22;
/* rgb */ color: rgb(49, 141, 34);
/* oklch */ color: oklch(56.7% 0.166 141.1);
Tailwind
colors: {
  custom: {
    50: '#76af65',
    500: '#318d22',
    950: '#000000',
  },
}
SCSS
$custom: #318d22;
$custom-light: #76af65;
$custom-dark: #000000;
JSON
{
  "hex": "#318d22",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 111.589,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.16592,
    "h": 141.1
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#318D22
secondary
#AB51B9
accent
#44E4CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318D22

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

Preview Lab → · Contrast checker → · Palette generator →

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