#316811#316811

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

Color values

HEX#316811
RGBrgb(49, 104, 17)
HSLhsl(98, 72%, 24%)
HSVhsv(98, 84%, 41%)
CMYKcmyk(52.9%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.89, -34.04, 39.81)
CIE-LCHlch(38.89, 52.38, 130.53°)
OKLaboklab(46.19% -0.0946 0.0883)
OKLCHoklch(46.19% 0.129 137)
XYZxyz(6.3179, 10.5936, 2.2421)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316811 #481168
analogous
#5C6811 #316811 #11681C
triadic
#316811 #113168 #681131
tetradic
#316811 #115C68 #481168 #681C11
square
#316811 #115C68 #481168 #681C11
split-complementary
#316811 #1C1168 #68115C
monochromatic
#0C1A04 #183308 #316811 #4A9D1A #63D122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316811#FFFFFF#000000##FFFFFF
##3168111.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)
#655A1B
Tritanopia (blue-blind)
#2E6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316811;
/* rgb */ color: rgb(49, 104, 17);
/* oklch */ color: oklch(46.2% 0.129 137.0);
Tailwind
colors: {
  custom: {
    50: '#709457',
    500: '#316811',
    950: '#000000',
  },
}
SCSS
$custom: #316811;
$custom-light: #709457;
$custom-dark: #000000;
JSON
{
  "hex": "#316811",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 97.931,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46188,
    "c": 0.12939,
    "h": 137
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#316811
secondary
#7935A0
accent
#39EFAC
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #316811

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

Preview Lab → · Contrast checker → · Palette generator →

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