#316518#316518

#316518 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.4% C 0.121 H 137.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#316518
RGBrgb(49, 101, 24)
HSLhsl(101, 62%, 25%)
HSVhsv(101, 76%, 40%)
CMYKcmyk(51.5%, 0%, 76.2%, 60.4%)
CIE-LABlab(37.89, -32.26, 36.23)
CIE-LCHlch(37.89, 48.51, 131.68°)
OKLaboklab(45.38% -0.0893 0.0819)
OKLCHoklch(45.38% 0.121 137.5)
XYZxyz(6.0850, 10.0259, 2.4785)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316518 #4C1865
analogous
#586518 #316518 #186525
triadic
#316518 #183165 #651831
tetradic
#316518 #185865 #4C1865 #652518
square
#316518 #185865 #4C1865 #652518
split-complementary
#316518 #251865 #651858
monochromatic
#0C1906 #19340C #316518 #499624 #61C830

Accessibility & contrast

On white

6.99
#316518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#316518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316518
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316518#FFFFFF#000000##FFFFFF
##3165181.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C0B
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#2E6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #316518;
/* rgb */ color: rgb(49, 101, 24);
/* oklch */ color: oklch(45.4% 0.121 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f915a',
    500: '#316518',
    950: '#000000',
  },
}
SCSS
$custom: #316518;
$custom-light: #6f915a;
$custom-dark: #000000;
JSON
{
  "hex": "#316518",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 24
  },
  "hsl": {
    "h": 100.519,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.12118,
    "h": 137.5
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#316518
secondary
#7D3E9B
accent
#43E5B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #316518

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

Preview Lab → · Contrast checker → · Palette generator →

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