#316713#316713

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

Color values

HEX#316713
RGBrgb(49, 103, 19)
HSLhsl(99, 69%, 24%)
HSVhsv(99, 82%, 40%)
CMYKcmyk(52.4%, 0%, 81.6%, 59.6%)
CIE-LABlab(38.55, -33.49, 38.81)
CIE-LCHlch(38.55, 51.26, 130.79°)
OKLaboklab(45.91% -0.093 0.0865)
OKLCHoklch(45.91% 0.127 137.1)
XYZxyz(6.2342, 10.4000, 2.2949)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316713 #491367
analogous
#5B6713 #316713 #13671F
triadic
#316713 #133167 #671331
tetradic
#316713 #135B67 #491367 #671F13
square
#316713 #135B67 #491367 #671F13
split-complementary
#316713 #1F1367 #67135B
monochromatic
#0C1A05 #183309 #316713 #4A9B1D #62CE26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316713#FFFFFF#000000##FFFFFF
##3167131.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)
#6B5E01
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#2E6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316713;
/* rgb */ color: rgb(49, 103, 19);
/* oklch */ color: oklch(45.9% 0.127 137.1);
Tailwind
colors: {
  custom: {
    50: '#6f9358',
    500: '#316713',
    950: '#000000',
  },
}
SCSS
$custom: #316713;
$custom-light: #6f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#316713",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 19
  },
  "hsl": {
    "h": 98.571,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.12699,
    "h": 137.1
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#316713
secondary
#7A379E
accent
#3CECAD
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316713

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

Preview Lab → · Contrast checker → · Palette generator →

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