#318F1F#318F1F

#318F1F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.170 H 140.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#318F1F
RGBrgb(49, 143, 31)
HSLhsl(110, 64%, 34%)
HSVhsv(110, 78%, 56%)
CMYKcmyk(65.7%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.28, -48.20, 47.89)
CIE-LCHlch(52.28, 67.95, 135.18°)
OKLaboklab(57.28% -0.1319 0.1073)
OKLCHoklch(57.28% 0.17 140.9)
XYZxyz(11.3358, 20.3957, 4.6354)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F1F #7D1F8F
analogous
#698F1F #318F1F #1F8F45
triadic
#318F1F #1F318F #8F1F31
tetradic
#318F1F #1F698F #7D1F8F #8F451F
square
#318F1F #1F698F #7D1F8F #8F451F
split-complementary
#318F1F #451F8F #8F1F69
monochromatic
#0F2A09 #205D14 #318F1F #42C12A #66D94F

Accessibility & contrast

On white

4.13
#318F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#318F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F1F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F1F#FFFFFF#000000##000000
##318F1F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#218A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f1f;
/* rgb */ color: rgb(49, 143, 31);
/* oklch */ color: oklch(57.3% 0.170 140.9);
Tailwind
colors: {
  custom: {
    50: '#76b164',
    500: '#318f1f',
    950: '#000000',
  },
}
SCSS
$custom: #318f1f;
$custom-light: #76b164;
$custom-dark: #000000;
JSON
{
  "hex": "#318f1f",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 110.357,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.17,
    "h": 140.9
  },
  "luminance": 0.20397
}

Semantic roles & 50–950 ramp

primary
#318F1F
secondary
#AA4EBC
accent
#40E7CD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #318F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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