#314706#314706

#314706 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.090 H 127.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#314706
RGBrgb(49, 71, 6)
HSLhsl(80, 84%, 15%)
HSVhsv(80, 92%, 28%)
CMYKcmyk(31%, 0%, 91.5%, 72.2%)
CIE-LABlab(27.22, -19.12, 32.87)
CIE-LCHlch(27.22, 38.02, 120.19°)
OKLaboklab(36.61% -0.0552 0.0717)
OKLCHoklch(36.61% 0.09 127.6)
XYZxyz(3.5527, 5.1725, 0.9835)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314706 #1C0647
analogous
#473D06 #314706 #104706
triadic
#314706 #063147 #470631
tetradic
#314706 #06473D #1C0647 #470610
square
#314706 #06473D #1C0647 #470610
split-complementary
#314706 #061047 #3D0647
monochromatic
#131C02 #131C02 #314706 #587F0B #7FB810

Accessibility & contrast

On white

10.32
#314706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#314706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314706
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314706#FFFFFF#000000##FFFFFF
##3147061.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#48400D
Tritanopia (blue-blind)
#33433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #314706;
/* rgb */ color: rgb(49, 71, 6);
/* oklch */ color: oklch(36.6% 0.090 127.6);
Tailwind
colors: {
  custom: {
    50: '#6c7a4d',
    500: '#314706',
    950: '#000000',
  },
}
SCSS
$custom: #314706;
$custom-light: #6c7a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#314706",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 80.308,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36615,
    "c": 0.09048,
    "h": 127.6
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#314706
secondary
#442386
accent
#2DFB73
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #314706

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

Preview Lab → · Contrast checker → · Palette generator →

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