#318F2D#318F2D

#318F2D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.161 H 142.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#318F2D
RGBrgb(49, 143, 45)
HSLhsl(118, 52%, 37%)
HSVhsv(118, 69%, 56%)
CMYKcmyk(65.7%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.38, -47.01, 42.53)
CIE-LCHlch(52.38, 63.39, 137.86°)
OKLaboklab(57.39% -0.1279 0.098)
OKLCHoklch(57.39% 0.161 142.5)
XYZxyz(11.5621, 20.4862, 5.8270)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F2D #8B2D8F
analogous
#628F2D #318F2D #2D8F5A
triadic
#318F2D #2D318F #8F2D31
tetradic
#318F2D #2D628F #8B2D8F #8F5A2D
square
#318F2D #2D628F #8B2D8F #8F5A2D
split-complementary
#318F2D #5A2D8F #8F2D62
monochromatic
#113210 #21601E #318F2D #41BE3C #6BCF67

Accessibility & contrast

On white

4.12
#318F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#318F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F2D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F2D#FFFFFF#000000##000000
##318F2D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#1E8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f2d;
/* rgb */ color: rgb(49, 143, 45);
/* oklch */ color: oklch(57.4% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#76b16b',
    500: '#318f2d',
    950: '#000000',
  },
}
SCSS
$custom: #318f2d;
$custom-light: #76b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#318f2d",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 117.551,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.16108,
    "h": 142.5
  },
  "luminance": 0.20487
}

Semantic roles & 50–950 ramp

primary
#318F2D
secondary
#B262B6
accent
#4CDCD6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #318F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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