#316011#316011

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

Color values

HEX#316011
RGBrgb(49, 96, 17)
HSLhsl(96, 70%, 22%)
HSVhsv(96, 82%, 38%)
CMYKcmyk(49%, 0%, 82.3%, 62.4%)
CIE-LABlab(36.10, -30.57, 37.17)
CIE-LCHlch(36.10, 48.13, 129.43°)
OKLaboklab(43.89% -0.0853 0.0828)
OKLCHoklch(43.89% 0.119 135.9)
XYZxyz(5.5505, 9.0588, 1.9863)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316011 #401160
analogous
#596011 #316011 #116018
triadic
#316011 #113160 #601131
tetradic
#316011 #115960 #401160 #601811
square
#316011 #115960 #401160 #601811
split-complementary
#316011 #181160 #601159
monochromatic
#0D1A05 #162C08 #316011 #4C941A #66C823

Accessibility & contrast

On white

7.47
#316011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#316011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316011
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316011#FFFFFF#000000##FFFFFF
##3160111.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#2F5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #316011;
/* rgb */ color: rgb(49, 96, 17);
/* oklch */ color: oklch(43.9% 0.119 135.9);
Tailwind
colors: {
  custom: {
    50: '#6e8d56',
    500: '#316011',
    950: '#000000',
  },
}
SCSS
$custom: #316011;
$custom-light: #6e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#316011",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 95.696,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.11882,
    "h": 135.9
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#316011
secondary
#703499
accent
#3BEDA5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316011

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

Preview Lab → · Contrast checker → · Palette generator →

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