#316C11#316C11

#316C11 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.3% C 0.135 H 137.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#316C11
RGBrgb(49, 108, 17)
HSLhsl(99, 73%, 25%)
HSVhsv(99, 84%, 42%)
CMYKcmyk(54.6%, 0%, 84.3%, 57.6%)
CIE-LABlab(40.28, -35.71, 41.11)
CIE-LCHlch(40.28, 54.46, 130.98°)
OKLaboklab(47.33% -0.0991 0.091)
OKLCHoklch(47.33% 0.135 137.4)
XYZxyz(6.7301, 11.4181, 2.3795)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316C11 #4C116C
analogous
#5F6C11 #316C11 #116C1F
triadic
#316C11 #11316C #6C1131
tetradic
#316C11 #115F6C #4C116C #6C1F11
square
#316C11 #115F6C #4C116C #6C1F11
split-complementary
#316C11 #1F116C #6C115F
monochromatic
#0C1A04 #193709 #316C11 #49A119 #61D622

Accessibility & contrast

On white

6.40
#316C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#316C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316C11
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316C11#FFFFFF#000000##FFFFFF
##316C111.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#2D685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #316c11;
/* rgb */ color: rgb(49, 108, 17);
/* oklch */ color: oklch(47.3% 0.135 137.4);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#316c11',
    950: '#000000',
  },
}
SCSS
$custom: #316c11;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#316c11",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 98.901,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.13453,
    "h": 137.4
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#316C11
secondary
#7D35A4
accent
#38EFAF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316C11

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

Preview Lab → · Contrast checker → · Palette generator →

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