#316714#316714

#316714 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 45.9% C 0.126 H 137.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#316714
RGBrgb(49, 103, 20)
HSLhsl(99, 67%, 24%)
HSVhsv(99, 81%, 40%)
CMYKcmyk(52.4%, 0%, 80.6%, 59.6%)
CIE-LABlab(38.56, -33.42, 38.45)
CIE-LCHlch(38.56, 50.95, 131.00°)
OKLaboklab(45.92% -0.0927 0.0859)
OKLCHoklch(45.92% 0.126 137.2)
XYZxyz(6.2429, 10.4035, 2.3408)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316714 #4A1467
analogous
#5B6714 #316714 #146721
triadic
#316714 #143167 #671431
tetradic
#316714 #145B67 #4A1467 #672114
square
#316714 #145B67 #4A1467 #672114
split-complementary
#316714 #211467 #67145B
monochromatic
#0C1A05 #19340A #316714 #499A1E #62CD28

Accessibility & contrast

On white

6.82
#316714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#316714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316714
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316714#FFFFFF#000000##FFFFFF
##3167141.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E02
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#2E6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316714;
/* rgb */ color: rgb(49, 103, 20);
/* oklch */ color: oklch(45.9% 0.126 137.2);
Tailwind
colors: {
  custom: {
    50: '#6f9359',
    500: '#316714',
    950: '#000000',
  },
}
SCSS
$custom: #316714;
$custom-light: #6f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#316714",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 99.036,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.12642,
    "h": 137.2
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#316714
secondary
#7B399E
accent
#3DEAAE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316714

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

Preview Lab → · Contrast checker → · Palette generator →

#316714 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva