#314716#314716

#314716 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.078 H 130.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#314716
RGBrgb(49, 71, 22)
HSLhsl(87, 53%, 18%)
HSVhsv(87, 69%, 28%)
CMYKcmyk(31%, 0%, 69%, 72.2%)
CIE-LABlab(27.35, -17.92, 26.02)
CIE-LCHlch(27.35, 31.59, 124.55°)
OKLaboklab(36.76% -0.0504 0.0601)
OKLCHoklch(36.76% 0.078 130)
XYZxyz(3.6647, 5.2173, 1.5729)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314716 #2C1647
analogous
#474416 #314716 #184716
triadic
#314716 #163147 #471631
tetradic
#314716 #164744 #2C1647 #471618
square
#314716 #164744 #2C1647 #471618
split-complementary
#314716 #161847 #441647
monochromatic
#101707 #111808 #314716 #517624 #71A433

Accessibility & contrast

On white

10.28
#314716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#314716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314716
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314716#FFFFFF#000000##FFFFFF
##3147161.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4210
Deuteranopia (green-blind)
#47401A
Tritanopia (blue-blind)
#32443D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314716;
/* rgb */ color: rgb(49, 71, 22);
/* oklch */ color: oklch(36.8% 0.078 130.0);
Tailwind
colors: {
  custom: {
    50: '#6b7a55',
    500: '#314716',
    950: '#000000',
  },
}
SCSS
$custom: #314716;
$custom-light: #6b7a55;
$custom-dark: #000000;
JSON
{
  "hex": "#314716",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 22
  },
  "hsl": {
    "h": 86.939,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36756,
    "c": 0.07849,
    "h": 130
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#314716
secondary
#593A7E
accent
#4CDC8D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314716

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

Preview Lab → · Contrast checker → · Palette generator →

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