#318C1F#318C1F

#318C1F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.166 H 140.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#318C1F
RGBrgb(49, 140, 31)
HSLhsl(110, 64%, 34%)
HSVhsv(110, 78%, 55%)
CMYKcmyk(65%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.28, -47.12, 46.91)
CIE-LCHlch(51.28, 66.49, 135.13°)
OKLaboklab(56.44% -0.129 0.1052)
OKLCHoklch(56.44% 0.166 140.8)
XYZxyz(10.8915, 19.5070, 4.4873)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318C1F #7A1F8C
analogous
#678C1F #318C1F #1F8C43
triadic
#318C1F #1F318C #8C1F31
tetradic
#318C1F #1F678C #7A1F8C #8C431F
square
#318C1F #1F678C #7A1F8C #8C431F
split-complementary
#318C1F #431F8C #8C1F67
monochromatic
#0E2809 #1F5A14 #318C1F #43BE2A #64D84E

Accessibility & contrast

On white

4.28
#318C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#318C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318C1F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318C1F#FFFFFF#000000##000000
##318C1F1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#228777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #318c1f;
/* rgb */ color: rgb(49, 140, 31);
/* oklch */ color: oklch(56.4% 0.166 140.8);
Tailwind
colors: {
  custom: {
    50: '#76ae63',
    500: '#318c1f',
    950: '#000000',
  },
}
SCSS
$custom: #318c1f;
$custom-light: #76ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#318c1f",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 110.092,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.16645,
    "h": 140.8
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#318C1F
secondary
#A84CBB
accent
#41E7CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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