#316911#316911

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

Color values

HEX#316911
RGBrgb(49, 105, 17)
HSLhsl(98, 72%, 24%)
HSVhsv(98, 84%, 41%)
CMYKcmyk(53.3%, 0%, 83.8%, 58.8%)
CIE-LABlab(39.23, -34.46, 40.14)
CIE-LCHlch(39.23, 52.91, 130.65°)
OKLaboklab(46.47% -0.0957 0.089)
OKLCHoklch(46.47% 0.131 137.1)
XYZxyz(6.4192, 10.7961, 2.2758)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316911 #491169
analogous
#5D6911 #316911 #11691D
triadic
#316911 #113169 #691131
tetradic
#316911 #115D69 #491169 #691D11
square
#316911 #115D69 #491169 #691D11
split-complementary
#316911 #1D1169 #69115D
monochromatic
#0C1A04 #183408 #316911 #4A9E1A #62D222

Accessibility & contrast

On white

6.65
#316911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316911
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316911#FFFFFF#000000##FFFFFF
##3169111.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #316911;
/* rgb */ color: rgb(49, 105, 17);
/* oklch */ color: oklch(46.5% 0.131 137.1);
Tailwind
colors: {
  custom: {
    50: '#709458',
    500: '#316911',
    950: '#000000',
  },
}
SCSS
$custom: #316911;
$custom-light: #709458;
$custom-dark: #000000;
JSON
{
  "hex": "#316911",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 98.182,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.13068,
    "h": 137.1
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#316911
secondary
#7A35A1
accent
#39EFAD
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316911

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

Preview Lab → · Contrast checker → · Palette generator →

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