#314708#314708

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

Color values

HEX#314708
RGBrgb(49, 71, 8)
HSLhsl(81, 80%, 15%)
HSVhsv(81, 89%, 28%)
CMYKcmyk(31%, 0%, 88.7%, 72.2%)
CIE-LABlab(27.23, -19.00, 32.09)
CIE-LCHlch(27.23, 37.29, 120.63°)
OKLaboklab(36.63% -0.0547 0.0705)
OKLCHoklch(36.63% 0.089 127.8)
XYZxyz(3.5637, 5.1769, 1.0412)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314708 #1E0847
analogous
#473D08 #314708 #124708
triadic
#314708 #083147 #470831
tetradic
#314708 #08473D #1E0847 #470812
square
#314708 #08473D #1E0847 #470812
split-complementary
#314708 #081247 #3D0847
monochromatic
#131C03 #131C03 #314708 #577E0E #7DB514

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314708#FFFFFF#000000##FFFFFF
##3147081.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314708;
/* rgb */ color: rgb(49, 71, 8);
/* oklch */ color: oklch(36.6% 0.089 127.8);
Tailwind
colors: {
  custom: {
    50: '#6c7a4e',
    500: '#314708',
    950: '#000000',
  },
}
SCSS
$custom: #314708;
$custom-light: #6c7a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#314708",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 8
  },
  "hsl": {
    "h": 80.952,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.08923,
    "h": 127.8
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#314708
secondary
#472685
accent
#32F676
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314708

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

Preview Lab → · Contrast checker → · Palette generator →

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