#316117#316117

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

Color values

HEX#316117
RGBrgb(49, 97, 23)
HSLhsl(99, 62%, 24%)
HSVhsv(99, 76%, 38%)
CMYKcmyk(49.5%, 0%, 76.3%, 62%)
CIE-LABlab(36.49, -30.58, 35.22)
CIE-LCHlch(36.49, 46.64, 130.96°)
OKLaboklab(44.23% -0.0848 0.0796)
OKLCHoklch(44.23% 0.116 136.8)
XYZxyz(5.6958, 9.2638, 2.2984)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316117 #471761
analogous
#566117 #316117 #176122
triadic
#316117 #173161 #611731
tetradic
#316117 #175661 #471761 #612217
square
#316117 #175661 #471761 #612217
split-complementary
#316117 #221761 #611756
monochromatic
#0C1906 #18300B #316117 #4A9223 #63C42E

Accessibility & contrast

On white

7.36
#316117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #316117
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316117#FFFFFF#000000##FFFFFF
##3161171.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580A
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#2E5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #316117;
/* rgb */ color: rgb(49, 97, 23);
/* oklch */ color: oklch(44.2% 0.116 136.8);
Tailwind
colors: {
  custom: {
    50: '#6e8e59',
    500: '#316117',
    950: '#000000',
  },
}
SCSS
$custom: #316117;
$custom-light: #6e8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#316117",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 98.919,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44227,
    "c": 0.11636,
    "h": 136.8
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#316117
secondary
#773C98
accent
#43E5AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316117

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

Preview Lab → · Contrast checker → · Palette generator →

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