#314C13#314C13

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

Color values

HEX#314C13
RGBrgb(49, 76, 19)
HSLhsl(88, 60%, 19%)
HSVhsv(88, 75%, 30%)
CMYKcmyk(35.5%, 0%, 75%, 70.2%)
CIE-LABlab(29.08, -20.84, 29.36)
CIE-LCHlch(29.08, 36.00, 125.37°)
OKLaboklab(38.16% -0.0588 0.0667)
OKLCHoklch(38.16% 0.089 131.4)
XYZxyz(3.9686, 5.8687, 1.5397)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C13 #2E134C
analogous
#4C4A13 #314C13 #144C13
triadic
#314C13 #13314C #4C1331
tetradic
#314C13 #134C4A #2E134C #4C1314
square
#314C13 #134C4A #2E134C #4C1314
split-complementary
#314C13 #13144C #4A134C
monochromatic
#101806 #111B07 #314C13 #517D1F #70AE2B

Accessibility & contrast

On white

9.66
#314C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#314C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C13
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C13#FFFFFF#000000##FFFFFF
##314C131.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460B
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#324941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314c13;
/* rgb */ color: rgb(49, 76, 19);
/* oklch */ color: oklch(38.2% 0.089 131.4);
Tailwind
colors: {
  custom: {
    50: '#6c7e54',
    500: '#314c13',
    950: '#000000',
  },
}
SCSS
$custom: #314c13;
$custom-light: #6c7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#314c13",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 88.421,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.08891,
    "h": 131.4
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#314C13
secondary
#5B3685
accent
#45E390
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C13

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

Preview Lab → · Contrast checker → · Palette generator →

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