#316813#316813

#316813 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.2% C 0.128 H 137.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#316813
RGBrgb(49, 104, 19)
HSLhsl(99, 69%, 24%)
HSVhsv(99, 82%, 41%)
CMYKcmyk(52.9%, 0%, 81.7%, 59.2%)
CIE-LABlab(38.90, -33.92, 39.14)
CIE-LCHlch(38.90, 51.79, 130.91°)
OKLaboklab(46.2% -0.0941 0.0872)
OKLCHoklch(46.2% 0.128 137.2)
XYZxyz(6.3343, 10.6002, 2.3282)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316813 #4A1368
analogous
#5C6813 #316813 #136820
triadic
#316813 #133168 #681331
tetradic
#316813 #135C68 #4A1368 #682013
square
#316813 #135C68 #4A1368 #682013
split-complementary
#316813 #201368 #68135C
monochromatic
#0C1A05 #19340A #316813 #499C1C #62CF26

Accessibility & contrast

On white

6.73
#316813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#316813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316813
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316813#FFFFFF#000000##FFFFFF
##3168131.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#2D6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316813;
/* rgb */ color: rgb(49, 104, 19);
/* oklch */ color: oklch(46.2% 0.128 137.2);
Tailwind
colors: {
  custom: {
    50: '#709458',
    500: '#316813',
    950: '#000000',
  },
}
SCSS
$custom: #316813;
$custom-light: #709458;
$custom-dark: #000000;
JSON
{
  "hex": "#316813",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 98.824,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.462,
    "c": 0.12831,
    "h": 137.2
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#316813
secondary
#7B379F
accent
#3CECAE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316813

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

Preview Lab → · Contrast checker → · Palette generator →

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