#318E1C#318E1C

#318E1C is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.170 H 140.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#318E1C
RGBrgb(49, 142, 28)
HSLhsl(109, 67%, 33%)
HSVhsv(109, 80%, 56%)
CMYKcmyk(65.5%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.93, -48.04, 48.56)
CIE-LCHlch(51.93, 68.31, 134.70°)
OKLaboklab(56.98% -0.1316 0.1082)
OKLCHoklch(56.98% 0.17 140.6)
XYZxyz(11.1487, 20.0817, 4.3870)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E1C #791C8E
analogous
#6A8E1C #318E1C #1C8E40
triadic
#318E1C #1C318E #8E1C31
tetradic
#318E1C #1C6A8E #791C8E #8E401C
square
#318E1C #1C6A8E #791C8E #8E401C
split-complementary
#318E1C #401C8E #8E1C6A
monochromatic
#0E2808 #1F5B12 #318E1C #43C126 #64DB49

Accessibility & contrast

On white

4.19
#318E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#318E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E1C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E1C#FFFFFF#000000##000000
##318E1C1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#228979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318e1c;
/* rgb */ color: rgb(49, 142, 28);
/* oklch */ color: oklch(57.0% 0.170 140.6);
Tailwind
colors: {
  custom: {
    50: '#76b062',
    500: '#318e1c',
    950: '#000000',
  },
}
SCSS
$custom: #318e1c;
$custom-light: #76b062;
$custom-dark: #000000;
JSON
{
  "hex": "#318e1c",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 108.947,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.1704,
    "h": 140.6
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#318E1C
secondary
#A849BD
accent
#3EEACA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #318E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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