#314D0D#314D0D

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

Color values

HEX#314D0D
RGBrgb(49, 77, 13)
HSLhsl(86, 71%, 18%)
HSVhsv(86, 83%, 30%)
CMYKcmyk(36.4%, 0%, 83.1%, 69.8%)
CIE-LABlab(29.39, -21.81, 32.23)
CIE-LCHlch(29.39, 38.92, 124.09°)
OKLaboklab(38.39% -0.0619 0.0717)
OKLCHoklch(38.39% 0.095 130.8)
XYZxyz(3.9931, 5.9896, 1.3264)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D0D #290D4D
analogous
#4D490D #314D0D #114D0D
triadic
#314D0D #0D314D #4D0D31
tetradic
#314D0D #0D4D49 #290D4D #4D0D11
square
#314D0D #0D4D49 #290D4D #4D0D11
split-complementary
#314D0D #0D114D #490D4D
monochromatic
#111A04 #111A04 #314D0D #528116 #74B61F

Accessibility & contrast

On white

9.55
#314D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314D0D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D0D#FFFFFF#000000##FFFFFF
##314D0D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314d0d;
/* rgb */ color: rgb(49, 77, 13);
/* oklch */ color: oklch(38.4% 0.095 130.8);
Tailwind
colors: {
  custom: {
    50: '#6c7f51',
    500: '#314d0d',
    950: '#000000',
  },
}
SCSS
$custom: #314d0d;
$custom-light: #6c7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#314d0d",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 86.25,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38392,
    "c": 0.09476,
    "h": 130.8
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#314D0D
secondary
#552E88
accent
#3AEE89
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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