#314C16#314C16

#314C16 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.086 H 132.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#314C16
RGBrgb(49, 76, 22)
HSLhsl(90, 55%, 19%)
HSVhsv(90, 71%, 30%)
CMYKcmyk(35.5%, 0%, 71.1%, 70.2%)
CIE-LABlab(29.11, -20.57, 27.95)
CIE-LCHlch(29.11, 34.70, 126.35°)
OKLaboklab(38.19% -0.0577 0.0642)
OKLCHoklch(38.19% 0.086 132)
XYZxyz(3.9958, 5.8796, 1.6833)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C16 #31164C
analogous
#4C4C16 #314C16 #164C16
triadic
#314C16 #16314C #4C1631
tetradic
#314C16 #164C4C #31164C #4C1616
square
#314C16 #164C4C #31164C #4C1616
split-complementary
#314C16 #16164C #4C164C
monochromatic
#0F1807 #121D08 #314C16 #507B24 #6EAB31

Accessibility & contrast

On white

9.65
#314C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#314C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C16
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C16#FFFFFF#000000##FFFFFF
##314C161.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460F
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#324941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314c16;
/* rgb */ color: rgb(49, 76, 22);
/* oklch */ color: oklch(38.2% 0.086 132.0);
Tailwind
colors: {
  custom: {
    50: '#6b7e56',
    500: '#314c16',
    950: '#000000',
  },
}
SCSS
$custom: #314c16;
$custom-light: #6b7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#314c16",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.08634,
    "h": 132
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#314C16
secondary
#5F3A84
accent
#49DE94
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C16

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

Preview Lab → · Contrast checker → · Palette generator →

#314C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva