#314D16#314D16

#314D16 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.088 H 132.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#314D16
RGBrgb(49, 77, 22)
HSLhsl(91, 56%, 19%)
HSVhsv(91, 71%, 30%)
CMYKcmyk(36.4%, 0%, 71.4%, 69.8%)
CIE-LABlab(29.46, -21.09, 28.33)
CIE-LCHlch(29.46, 35.31, 126.66°)
OKLaboklab(38.48% -0.0591 0.065)
OKLCHoklch(38.48% 0.088 132.3)
XYZxyz(4.0653, 6.0185, 1.7064)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D16 #32164D
analogous
#4D4D16 #314D16 #164D16
triadic
#314D16 #16314D #4D1631
tetradic
#314D16 #164D4D #32164D #4D1616
square
#314D16 #164D4D #32164D #4D1616
split-complementary
#314D16 #16164D #4D164D
monochromatic
#0F1807 #131D08 #314D16 #4F7D24 #6EAC31

Accessibility & contrast

On white

9.53
#314D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#314D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D16
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D16#FFFFFF#000000##FFFFFF
##314D161.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470F
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#324A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314d16;
/* rgb */ color: rgb(49, 77, 22);
/* oklch */ color: oklch(38.5% 0.088 132.3);
Tailwind
colors: {
  custom: {
    50: '#6c7f56',
    500: '#314d16',
    950: '#000000',
  },
}
SCSS
$custom: #314d16;
$custom-light: #6c7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#314d16",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 90.545,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.08789,
    "h": 132.3
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#314D16
secondary
#603A85
accent
#49DF95
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314D16

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

Preview Lab → · Contrast checker → · Palette generator →

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