#316418#316418

#316418 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.120 H 137.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#316418
RGBrgb(49, 100, 24)
HSLhsl(100, 61%, 24%)
HSVhsv(100, 76%, 39%)
CMYKcmyk(51%, 0%, 76%, 60.8%)
CIE-LABlab(37.54, -31.82, 35.88)
CIE-LCHlch(37.54, 47.96, 131.57°)
OKLaboklab(45.09% -0.0881 0.0812)
OKLCHoklch(45.09% 0.12 137.4)
XYZxyz(5.9885, 9.8329, 2.4463)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316418 #4B1864
analogous
#576418 #316418 #186425
triadic
#316418 #183164 #641831
tetradic
#316418 #185764 #4B1864 #642518
square
#316418 #185764 #4B1864 #642518
split-complementary
#316418 #251864 #641857
monochromatic
#0C1906 #19330C #316418 #499524 #61C730

Accessibility & contrast

On white

7.08
#316418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#316418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316418
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316418#FFFFFF#000000##FFFFFF
##3164181.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#2E6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #316418;
/* rgb */ color: rgb(49, 100, 24);
/* oklch */ color: oklch(45.1% 0.120 137.4);
Tailwind
colors: {
  custom: {
    50: '#6f905a',
    500: '#316418',
    950: '#000000',
  },
}
SCSS
$custom: #316418;
$custom-light: #6f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#316418",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 100.263,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45094,
    "c": 0.11981,
    "h": 137.4
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#316418
secondary
#7C3E9A
accent
#43E4AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316418

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

Preview Lab → · Contrast checker → · Palette generator →

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