#316715#316715

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

Color values

HEX#316715
RGBrgb(49, 103, 21)
HSLhsl(100, 66%, 24%)
HSVhsv(100, 80%, 40%)
CMYKcmyk(52.4%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.56, -33.35, 38.09)
CIE-LCHlch(38.56, 50.63, 131.21°)
OKLaboklab(45.93% -0.0925 0.0853)
OKLCHoklch(45.93% 0.126 137.3)
XYZxyz(6.2520, 10.4072, 2.3887)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316715 #4B1567
analogous
#5A6715 #316715 #156722
triadic
#316715 #153167 #671531
tetradic
#316715 #155A67 #4B1567 #672215
square
#316715 #155A67 #4B1567 #672215
split-complementary
#316715 #221567 #67155A
monochromatic
#0C1905 #19340B #316715 #499A1F #61CD2A

Accessibility & contrast

On white

6.81
#316715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316715
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316715#FFFFFF#000000##FFFFFF
##3167151.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#2E6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316715;
/* rgb */ color: rgb(49, 103, 21);
/* oklch */ color: oklch(45.9% 0.126 137.3);
Tailwind
colors: {
  custom: {
    50: '#6f9359',
    500: '#316715',
    950: '#000000',
  },
}
SCSS
$custom: #316715;
$custom-light: #6f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#316715",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 99.512,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.12582,
    "h": 137.3
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#316715
secondary
#7C3A9E
accent
#3FE9AF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316715

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

Preview Lab → · Contrast checker → · Palette generator →

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