#316019#316019

#316019 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.0% C 0.114 H 137.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#316019
RGBrgb(49, 96, 25)
HSLhsl(100, 59%, 24%)
HSVhsv(100, 74%, 38%)
CMYKcmyk(49%, 0%, 74%, 62.4%)
CIE-LABlab(36.15, -29.96, 34.02)
CIE-LCHlch(36.15, 45.33, 131.36°)
OKLaboklab(43.96% -0.083 0.0774)
OKLCHoklch(43.96% 0.114 137)
XYZxyz(5.6248, 9.0885, 2.3774)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316019 #481960
analogous
#546019 #316019 #196024
triadic
#316019 #193160 #601931
tetradic
#316019 #195460 #481960 #602419
square
#316019 #195460 #481960 #602419
split-complementary
#316019 #241960 #601954
monochromatic
#0C1806 #182F0C #316019 #4A9126 #63C132

Accessibility & contrast

On white

7.45
#316019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#316019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316019
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316019#FFFFFF#000000##FFFFFF
##3160191.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63580E
Deuteranopia (green-blind)
#5D5420
Tritanopia (blue-blind)
#2E5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #316019;
/* rgb */ color: rgb(49, 96, 25);
/* oklch */ color: oklch(44.0% 0.114 137.0);
Tailwind
colors: {
  custom: {
    50: '#6e8d5a',
    500: '#316019',
    950: '#000000',
  },
}
SCSS
$custom: #316019;
$custom-light: #6e8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#316019",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 25
  },
  "hsl": {
    "h": 99.718,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.11351,
    "h": 137
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#316019
secondary
#793F96
accent
#46E2AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #316019

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

Preview Lab → · Contrast checker → · Palette generator →

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