#316913#316913

#316913 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.5% C 0.130 H 137.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#316913
RGBrgb(49, 105, 19)
HSLhsl(99, 69%, 24%)
HSVhsv(99, 82%, 41%)
CMYKcmyk(53.3%, 0%, 81.9%, 58.8%)
CIE-LABlab(39.25, -34.34, 39.47)
CIE-LCHlch(39.25, 52.32, 131.02°)
OKLaboklab(46.49% -0.0953 0.0879)
OKLCHoklch(46.49% 0.13 137.3)
XYZxyz(6.4355, 10.8027, 2.3620)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316913 #4B1369
analogous
#5C6913 #316913 #136920
triadic
#316913 #133169 #691331
tetradic
#316913 #135C69 #4B1369 #692013
square
#316913 #135C69 #4B1369 #692013
split-complementary
#316913 #201369 #69135C
monochromatic
#0C1A05 #19350A #316913 #499D1C #61D126

Accessibility & contrast

On white

6.64
#316913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#316913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316913
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316913#FFFFFF#000000##FFFFFF
##3169131.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#2D6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316913;
/* rgb */ color: rgb(49, 105, 19);
/* oklch */ color: oklch(46.5% 0.130 137.3);
Tailwind
colors: {
  custom: {
    50: '#709458',
    500: '#316913',
    950: '#000000',
  },
}
SCSS
$custom: #316913;
$custom-light: #709458;
$custom-dark: #000000;
JSON
{
  "hex": "#316913",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 99.07,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.12962,
    "h": 137.3
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#316913
secondary
#7C38A0
accent
#3CECAF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316913

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

Preview Lab → · Contrast checker → · Palette generator →

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