#316017#316017

#316017 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 43.9% C 0.115 H 136.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#316017
RGBrgb(49, 96, 23)
HSLhsl(99, 61%, 23%)
HSVhsv(99, 76%, 38%)
CMYKcmyk(49%, 0%, 76%, 62.4%)
CIE-LABlab(36.14, -30.13, 34.87)
CIE-LCHlch(36.14, 46.08, 130.83°)
OKLaboklab(43.94% -0.0836 0.0789)
OKLCHoklch(43.94% 0.115 136.7)
XYZxyz(5.6040, 9.0802, 2.2678)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316017 #461760
analogous
#556017 #316017 #176021
triadic
#316017 #173160 #601731
tetradic
#316017 #175560 #461760 #602117
square
#316017 #175560 #461760 #602117
split-complementary
#316017 #211760 #601755
monochromatic
#0D1906 #182F0B #316017 #4A9123 #63C32F

Accessibility & contrast

On white

7.46
#316017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #316017
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316017#FFFFFF#000000##FFFFFF
##3160171.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5D541E
Tritanopia (blue-blind)
#2F5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #316017;
/* rgb */ color: rgb(49, 96, 23);
/* oklch */ color: oklch(43.9% 0.115 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8d59',
    500: '#316017',
    950: '#000000',
  },
}
SCSS
$custom: #316017;
$custom-light: #6e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#316017",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 98.63,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.11497,
    "h": 136.7
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#316017
secondary
#763C97
accent
#43E4AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #316017

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

Preview Lab → · Contrast checker → · Palette generator →

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