#316014#316014

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

Color values

HEX#316014
RGBrgb(49, 96, 20)
HSLhsl(97, 66%, 23%)
HSVhsv(97, 79%, 38%)
CMYKcmyk(49%, 0%, 79.2%, 62.4%)
CIE-LABlab(36.12, -30.36, 36.06)
CIE-LCHlch(36.12, 47.14, 130.09°)
OKLaboklab(43.92% -0.0845 0.0809)
OKLCHoklch(43.92% 0.117 136.2)
XYZxyz(5.5756, 9.0689, 2.1184)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316014 #431460
analogous
#576014 #316014 #14601D
triadic
#316014 #143160 #601431
tetradic
#316014 #145760 #431460 #601D14
square
#316014 #145760 #431460 #601D14
split-complementary
#316014 #1D1460 #601457
monochromatic
#0D1905 #172D09 #316014 #4B931F #65C529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316014#FFFFFF#000000##FFFFFF
##3160141.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #316014;
/* rgb */ color: rgb(49, 96, 20);
/* oklch */ color: oklch(43.9% 0.117 136.2);
Tailwind
colors: {
  custom: {
    50: '#6e8d58',
    500: '#316014',
    950: '#000000',
  },
}
SCSS
$custom: #316014;
$custom-light: #6e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#316014",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 97.105,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43915,
    "c": 0.11699,
    "h": 136.2
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#316014
secondary
#733898
accent
#3FE8A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316014

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

Preview Lab → · Contrast checker → · Palette generator →

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