#316B18#316B18

#316B18 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.1% C 0.129 H 138.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#316B18
RGBrgb(49, 107, 24)
HSLhsl(102, 63%, 26%)
HSVhsv(102, 78%, 42%)
CMYKcmyk(54.2%, 0%, 77.6%, 58%)
CIE-LABlab(39.97, -34.82, 38.33)
CIE-LCHlch(39.97, 51.78, 132.26°)
OKLaboklab(47.09% -0.0962 0.0863)
OKLCHoklch(47.09% 0.129 138.1)
XYZxyz(6.6890, 11.2338, 2.6798)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316B18 #52186B
analogous
#5A6B18 #316B18 #186B28
triadic
#316B18 #18316B #6B1831
tetradic
#316B18 #185A6B #52186B #6B2818
square
#316B18 #185A6B #52186B #6B2818
split-complementary
#316B18 #28186B #6B185A
monochromatic
#0B1906 #1A390D #316B18 #489D23 #5FCF2E

Accessibility & contrast

On white

6.47
#316B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#316B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316B18
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316B18#FFFFFF#000000##FFFFFF
##316B181.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6108
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#2C675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #316b18;
/* rgb */ color: rgb(49, 107, 24);
/* oklch */ color: oklch(47.1% 0.129 138.1);
Tailwind
colors: {
  custom: {
    50: '#70965b',
    500: '#316b18',
    950: '#000000',
  },
}
SCSS
$custom: #316b18;
$custom-light: #70965b;
$custom-dark: #000000;
JSON
{
  "hex": "#316b18",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 101.928,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.12925,
    "h": 138.1
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#316B18
secondary
#833EA1
accent
#41E6B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316B18

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

Preview Lab → · Contrast checker → · Palette generator →

#316B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva