#316C12#316C12

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

Color values

HEX#316C12
RGBrgb(49, 108, 18)
HSLhsl(99, 71%, 25%)
HSVhsv(99, 83%, 42%)
CMYKcmyk(54.6%, 0%, 83.3%, 57.6%)
CIE-LABlab(40.28, -35.66, 40.79)
CIE-LCHlch(40.28, 54.18, 131.16°)
OKLaboklab(47.34% -0.0989 0.0905)
OKLCHoklch(47.34% 0.134 137.5)
XYZxyz(6.7381, 11.4213, 2.4216)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316C12 #4D126C
analogous
#5E6C12 #316C12 #126C20
triadic
#316C12 #12316C #6C1231
tetradic
#316C12 #125E6C #4D126C #6C2012
square
#316C12 #125E6C #4D126C #6C2012
split-complementary
#316C12 #20126C #6C125E
monochromatic
#0C1A04 #193809 #316C12 #49A01B #61D523

Accessibility & contrast

On white

6.39
#316C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316C12
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316C12#FFFFFF#000000##FFFFFF
##316C121.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.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: #316c12;
/* rgb */ color: rgb(49, 108, 18);
/* oklch */ color: oklch(47.3% 0.134 137.5);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#316c12',
    950: '#000000',
  },
}
SCSS
$custom: #316c12;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#316c12",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 99.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.13403,
    "h": 137.5
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#316C12
secondary
#7E36A3
accent
#3AEEB0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316C12

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

Preview Lab → · Contrast checker → · Palette generator →

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