#314606#314606

#314606 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.089 H 127.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#314606
RGBrgb(49, 70, 6)
HSLhsl(80, 84%, 15%)
HSVhsv(80, 91%, 27%)
CMYKcmyk(30%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.87, -18.59, 32.55)
CIE-LCHlch(26.87, 37.49, 119.72°)
OKLaboklab(36.33% -0.0538 0.071)
OKLCHoklch(36.33% 0.089 127.2)
XYZxyz(3.4897, 5.0464, 0.9625)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314606 #1B0646
analogous
#463B06 #314606 #114606
triadic
#314606 #063146 #460631
tetradic
#314606 #06463B #1B0646 #460611
square
#314606 #06463B #1B0646 #460611
split-complementary
#314606 #061146 #3B0646
monochromatic
#141C02 #141C02 #314606 #587E0B #80B710

Accessibility & contrast

On white

10.45
#314606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#314606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314606
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314606#FFFFFF#000000##FFFFFF
##3146061.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0D
Tritanopia (blue-blind)
#33423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #314606;
/* rgb */ color: rgb(49, 70, 6);
/* oklch */ color: oklch(36.3% 0.089 127.2);
Tailwind
colors: {
  custom: {
    50: '#6c794d',
    500: '#314606',
    950: '#000000',
  },
}
SCSS
$custom: #314606;
$custom-light: #6c794d;
$custom-dark: #000000;
JSON
{
  "hex": "#314606",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 79.688,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.08908,
    "h": 127.2
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#314606
secondary
#432285
accent
#2DFA71
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #314606

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

Preview Lab → · Contrast checker → · Palette generator →

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