#316710#316710

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

Color values

HEX#316710
RGBrgb(49, 103, 16)
HSLhsl(97, 73%, 23%)
HSVhsv(97, 84%, 40%)
CMYKcmyk(52.4%, 0%, 84.5%, 59.6%)
CIE-LABlab(38.53, -33.68, 39.81)
CIE-LCHlch(38.53, 52.15, 130.23°)
OKLaboklab(45.9% -0.0937 0.0881)
OKLCHoklch(45.9% 0.129 136.8)
XYZxyz(6.2102, 10.3904, 2.1684)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316710 #461067
analogous
#5C6710 #316710 #10671A
triadic
#316710 #103167 #671031
tetradic
#316710 #105C67 #461067 #671A10
square
#316710 #105C67 #461067 #671A10
split-complementary
#316710 #1A1067 #67105C
monochromatic
#0D1A04 #183208 #316710 #4A9C18 #63D120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316710#FFFFFF#000000##FFFFFF
##3167101.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)
#6B5D00
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#2E6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316710;
/* rgb */ color: rgb(49, 103, 16);
/* oklch */ color: oklch(45.9% 0.129 136.8);
Tailwind
colors: {
  custom: {
    50: '#709357',
    500: '#316710',
    950: '#000000',
  },
}
SCSS
$custom: #316710;
$custom-light: #709357;
$custom-dark: #000000;
JSON
{
  "hex": "#316710",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 97.241,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.12861,
    "h": 136.8
  },
  "luminance": 0.10391
}

Semantic roles & 50–950 ramp

primary
#316710
secondary
#76339F
accent
#38F0AA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #316710

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

Preview Lab → · Contrast checker → · Palette generator →

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