#314A13#314A13

#314A13 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.086 H 130.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#314A13
RGBrgb(49, 74, 19)
HSLhsl(87, 59%, 18%)
HSVhsv(87, 74%, 29%)
CMYKcmyk(33.8%, 0%, 74.3%, 71%)
CIE-LABlab(28.37, -19.80, 28.62)
CIE-LCHlch(28.37, 34.80, 124.68°)
OKLaboklab(37.58% -0.0559 0.0652)
OKLCHoklch(37.58% 0.086 130.6)
XYZxyz(3.8329, 5.5974, 1.4944)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314A13 #2C134A
analogous
#4A4713 #314A13 #154A13
triadic
#314A13 #13314A #4A1331
tetradic
#314A13 #134A47 #2C134A #4A1315
square
#314A13 #134A47 #2C134A #4A1315
split-complementary
#314A13 #13154A #47134A
monochromatic
#101806 #111906 #314A13 #517B20 #71AB2C

Accessibility & contrast

On white

9.91
#314A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#314A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314A13
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314A13#FFFFFF#000000##FFFFFF
##314A131.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440B
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#32473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #314a13;
/* rgb */ color: rgb(49, 74, 19);
/* oklch */ color: oklch(37.6% 0.086 130.6);
Tailwind
colors: {
  custom: {
    50: '#6b7c54',
    500: '#314a13',
    950: '#000000',
  },
}
SCSS
$custom: #314a13;
$custom-light: #6b7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#314a13",
  "rgb": {
    "r": 49,
    "g": 74,
    "b": 19
  },
  "hsl": {
    "h": 87.273,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.08587,
    "h": 130.6
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#314A13
secondary
#593683
accent
#45E28D
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314A13

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

Preview Lab → · Contrast checker → · Palette generator →

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