#316711#316711

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

Color values

HEX#316711
RGBrgb(49, 103, 17)
HSLhsl(98, 72%, 24%)
HSVhsv(98, 83%, 40%)
CMYKcmyk(52.4%, 0%, 83.5%, 59.6%)
CIE-LABlab(38.54, -33.62, 39.49)
CIE-LCHlch(38.54, 51.86, 130.41°)
OKLaboklab(45.9% -0.0935 0.0876)
OKLCHoklch(45.9% 0.128 136.9)
XYZxyz(6.2179, 10.3935, 2.2087)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316711 #471167
analogous
#5C6711 #316711 #11671C
triadic
#316711 #113167 #671131
tetradic
#316711 #115C67 #471167 #671C11
square
#316711 #115C67 #471167 #671C11
split-complementary
#316711 #1C1167 #67115C
monochromatic
#0C1A04 #183208 #316711 #4A9C1A #63D022

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316711#FFFFFF#000000##FFFFFF
##3167111.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)
#6B5E00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#2E6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316711;
/* rgb */ color: rgb(49, 103, 17);
/* oklch */ color: oklch(45.9% 0.128 136.9);
Tailwind
colors: {
  custom: {
    50: '#6f9357',
    500: '#316711',
    950: '#000000',
  },
}
SCSS
$custom: #316711;
$custom-light: #6f9357;
$custom-dark: #000000;
JSON
{
  "hex": "#316711",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 97.674,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.1281,
    "h": 136.9
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#316711
secondary
#77359F
accent
#39EEAB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #316711

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

Preview Lab → · Contrast checker → · Palette generator →

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