#316010#316010

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

Color values

HEX#316010
RGBrgb(49, 96, 16)
HSLhsl(95, 71%, 22%)
HSVhsv(95, 83%, 38%)
CMYKcmyk(49%, 0%, 83.3%, 62.4%)
CIE-LABlab(36.09, -30.64, 37.52)
CIE-LCHlch(36.09, 48.44, 129.23°)
OKLaboklab(43.89% -0.0855 0.0833)
OKLCHoklch(43.89% 0.119 135.7)
XYZxyz(5.5429, 9.0558, 1.9460)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316010 #3F1060
analogous
#596010 #316010 #106017
triadic
#316010 #103160 #601031
tetradic
#316010 #105960 #3F1060 #601710
square
#316010 #105960 #3F1060 #601710
split-complementary
#316010 #171060 #601059
monochromatic
#0D1A04 #162C07 #316010 #4C9419 #67C921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316010#FFFFFF#000000##FFFFFF
##3160101.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)
#5E5319
Tritanopia (blue-blind)
#2F5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #316010;
/* rgb */ color: rgb(49, 96, 16);
/* oklch */ color: oklch(43.9% 0.119 135.7);
Tailwind
colors: {
  custom: {
    50: '#6e8d56',
    500: '#316010',
    950: '#000000',
  },
}
SCSS
$custom: #316010;
$custom-light: #6e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#316010",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 95.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.11939,
    "h": 135.7
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#316010
secondary
#6F3399
accent
#3AEEA4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316010

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

Preview Lab → · Contrast checker → · Palette generator →

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