#316112#316112

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

Color values

HEX#316112
RGBrgb(49, 97, 18)
HSLhsl(96, 69%, 23%)
HSVhsv(96, 81%, 38%)
CMYKcmyk(49.5%, 0%, 81.4%, 62%)
CIE-LABlab(36.45, -30.95, 37.15)
CIE-LCHlch(36.45, 48.36, 129.80°)
OKLaboklab(44.19% -0.0862 0.0829)
OKLCHoklch(44.19% 0.12 136.1)
XYZxyz(5.6503, 9.2457, 2.0590)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316112 #421261
analogous
#586112 #316112 #12611B
triadic
#316112 #123161 #611231
tetradic
#316112 #125861 #421261 #611B12
square
#316112 #125861 #421261 #611B12
split-complementary
#316112 #1B1261 #611258
monochromatic
#0D1A05 #172D08 #316112 #4B951C #65C825

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316112#FFFFFF#000000##FFFFFF
##3161121.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)
#655802
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#2F5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #316112;
/* rgb */ color: rgb(49, 97, 18);
/* oklch */ color: oklch(44.2% 0.120 136.1);
Tailwind
colors: {
  custom: {
    50: '#6e8e57',
    500: '#316112',
    950: '#000000',
  },
}
SCSS
$custom: #316112;
$custom-light: #6e8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#316112",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 96.456,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.11959,
    "h": 136.1
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#316112
secondary
#723699
accent
#3CECA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316112

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

Preview Lab → · Contrast checker → · Palette generator →

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