#318D17#318D17

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

Color values

HEX#318D17
RGBrgb(49, 141, 23)
HSLhsl(107, 72%, 32%)
HSVhsv(107, 84%, 55%)
CMYKcmyk(65.2%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.57, -47.98, 49.74)
CIE-LCHlch(51.57, 69.12, 133.97°)
OKLaboklab(56.67% -0.1317 0.11)
OKLCHoklch(56.67% 0.172 140.1)
XYZxyz(10.9456, 19.7635, 4.0484)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D17 #73178D
analogous
#6C8D17 #318D17 #178D38
triadic
#318D17 #17318D #8D1731
tetradic
#318D17 #176C8D #73178D #8D3817
square
#318D17 #176C8D #73178D #8D3817
split-complementary
#318D17 #38178D #8D176C
monochromatic
#0C2406 #1F580E #318D17 #43C220 #62E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #318d17;
/* rgb */ color: rgb(49, 141, 23);
/* oklch */ color: oklch(56.7% 0.172 140.1);
Tailwind
colors: {
  custom: {
    50: '#76af60',
    500: '#318d17',
    950: '#000000',
  },
}
SCSS
$custom: #318d17;
$custom-light: #76af60;
$custom-dark: #000000;
JSON
{
  "hex": "#318d17",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 106.78,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.17159,
    "h": 140.1
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#318D17
secondary
#A440C0
accent
#39EFC7
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #318D17

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

Preview Lab → · Contrast checker → · Palette generator →

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