#314D13#314D13

#314D13 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.090 H 131.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#314D13
RGBrgb(49, 77, 19)
HSLhsl(89, 60%, 19%)
HSVhsv(89, 75%, 30%)
CMYKcmyk(36.4%, 0%, 75.3%, 69.8%)
CIE-LABlab(29.43, -21.36, 29.73)
CIE-LCHlch(29.43, 36.60, 125.70°)
OKLaboklab(38.44% -0.0602 0.0675)
OKLCHoklch(38.44% 0.09 131.7)
XYZxyz(4.0380, 6.0076, 1.5628)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D13 #2F134D
analogous
#4D4C13 #314D13 #144D13
triadic
#314D13 #13314D #4D1331
tetradic
#314D13 #134D4C #2F134D #4D1314
square
#314D13 #134D4C #2F134D #4D1314
split-complementary
#314D13 #13144D #4C134D
monochromatic
#101906 #121C07 #314D13 #507E1F #6FAF2B

Accessibility & contrast

On white

9.54
#314D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314D13
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D13#FFFFFF#000000##FFFFFF
##314D131.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470A
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#324A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314d13;
/* rgb */ color: rgb(49, 77, 19);
/* oklch */ color: oklch(38.4% 0.090 131.7);
Tailwind
colors: {
  custom: {
    50: '#6c7f54',
    500: '#314d13',
    950: '#000000',
  },
}
SCSS
$custom: #314d13;
$custom-light: #6c7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#314d13",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 88.966,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38443,
    "c": 0.09041,
    "h": 131.7
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#314D13
secondary
#5D3686
accent
#44E491
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314D13

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

Preview Lab → · Contrast checker → · Palette generator →

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