#314712#314712

#314712 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.082 H 129.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#314712
RGBrgb(49, 71, 18)
HSLhsl(85, 60%, 17%)
HSVhsv(85, 75%, 28%)
CMYKcmyk(31%, 0%, 74.6%, 72.2%)
CIE-LABlab(27.31, -18.30, 27.98)
CIE-LCHlch(27.31, 33.43, 123.18°)
OKLaboklab(36.71% -0.0519 0.0637)
OKLCHoklch(36.71% 0.082 129.2)
XYZxyz(3.6290, 5.2030, 1.3852)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314712 #281247
analogous
#474312 #314712 #164712
triadic
#314712 #123147 #471231
tetradic
#314712 #124743 #281247 #471216
square
#314712 #124743 #281247 #471216
split-complementary
#314712 #121647 #431247
monochromatic
#111806 #111806 #314712 #53781E #74A92B

Accessibility & contrast

On white

10.29
#314712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314712
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314712#FFFFFF#000000##FFFFFF
##3147121.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B410B
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#33443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #314712;
/* rgb */ color: rgb(49, 71, 18);
/* oklch */ color: oklch(36.7% 0.082 129.2);
Tailwind
colors: {
  custom: {
    50: '#6b7a53',
    500: '#314712',
    950: '#000000',
  },
}
SCSS
$custom: #314712;
$custom-light: #6b7a53;
$custom-dark: #000000;
JSON
{
  "hex": "#314712",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 84.906,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36711,
    "c": 0.08213,
    "h": 129.2
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#314712
secondary
#543580
accent
#45E387
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314712

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

Preview Lab → · Contrast checker → · Palette generator →

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