#318D15#318D15

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

Color values

HEX#318D15
RGBrgb(49, 141, 21)
HSLhsl(106, 74%, 32%)
HSVhsv(106, 85%, 55%)
CMYKcmyk(65.2%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.56, -48.09, 50.29)
CIE-LCHlch(51.56, 69.58, 133.72°)
OKLaboklab(56.66% -0.1321 0.1109)
OKLCHoklch(56.66% 0.172 140)
XYZxyz(10.9263, 19.7558, 3.9468)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D15 #71158D
analogous
#6D8D15 #318D15 #158D35
triadic
#318D15 #15318D #8D1531
tetradic
#318D15 #156D8D #71158D #8D3515
square
#318D15 #156D8D #71158D #8D3515
split-complementary
#318D15 #35158D #8D156D
monochromatic
#0C2205 #1E580D #318D15 #44C21D #62E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318D15#FFFFFF#000000##000000
##318D151.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)
#867825
Tritanopia (blue-blind)
#238878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d15;
/* rgb */ color: rgb(49, 141, 21);
/* oklch */ color: oklch(56.7% 0.172 140.0);
Tailwind
colors: {
  custom: {
    50: '#76af5f',
    500: '#318d15',
    950: '#000000',
  },
}
SCSS
$custom: #318d15;
$custom-light: #76af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#318d15",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 106,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.17244,
    "h": 140
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#318D15
secondary
#A23DC1
accent
#37F1C5
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #318D15

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

Preview Lab → · Contrast checker → · Palette generator →

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