#316115#316115

#316115 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.2% C 0.118 H 136.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#316115
RGBrgb(49, 97, 21)
HSLhsl(98, 64%, 23%)
HSVhsv(98, 78%, 38%)
CMYKcmyk(49.5%, 0%, 78.4%, 62%)
CIE-LABlab(36.47, -30.73, 36.02)
CIE-LCHlch(36.47, 47.35, 130.47°)
OKLaboklab(44.21% -0.0854 0.081)
OKLCHoklch(44.21% 0.118 136.5)
XYZxyz(5.6765, 9.2561, 2.1968)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316115 #451561
analogous
#576115 #316115 #15611F
triadic
#316115 #153161 #611531
tetradic
#316115 #155761 #451561 #611F15
square
#316115 #155761 #451561 #611F15
split-complementary
#316115 #1F1561 #611557
monochromatic
#0D1905 #182F0A #316115 #4A9320 #64C62B

Accessibility & contrast

On white

7.37
#316115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#316115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316115
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316115#FFFFFF#000000##FFFFFF
##3161151.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655807
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#2F5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #316115;
/* rgb */ color: rgb(49, 97, 21);
/* oklch */ color: oklch(44.2% 0.118 136.5);
Tailwind
colors: {
  custom: {
    50: '#6e8e58',
    500: '#316115',
    950: '#000000',
  },
}
SCSS
$custom: #316115;
$custom-light: #6e8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#316115",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 97.895,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.11772,
    "h": 136.5
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#316115
secondary
#753A98
accent
#40E7AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316115

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

Preview Lab → · Contrast checker → · Palette generator →

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