#314D0C#314D0C

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

Color values

HEX#314D0C
RGBrgb(49, 77, 12)
HSLhsl(86, 73%, 17%)
HSVhsv(86, 84%, 30%)
CMYKcmyk(36.4%, 0%, 84.4%, 69.8%)
CIE-LABlab(29.38, -21.88, 32.61)
CIE-LCHlch(29.38, 39.27, 123.86°)
OKLaboklab(38.39% -0.0622 0.0723)
OKLCHoklch(38.39% 0.095 130.7)
XYZxyz(3.9868, 5.9871, 1.2933)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D0C #280C4D
analogous
#4D490C #314D0C #114D0C
triadic
#314D0C #0C314D #4D0C31
tetradic
#314D0C #0C4D49 #280C4D #4D0C11
square
#314D0C #0C4D49 #280C4D #4D0C11
split-complementary
#314D0C #0C114D #490C4D
monochromatic
#111A04 #111A04 #314D0C #538214 #74B71D

Accessibility & contrast

On white

9.56
#314D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314D0C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D0C#FFFFFF#000000##FFFFFF
##314D0C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314d0c;
/* rgb */ color: rgb(49, 77, 12);
/* oklch */ color: oklch(38.4% 0.095 130.7);
Tailwind
colors: {
  custom: {
    50: '#6c7f51',
    500: '#314d0c',
    950: '#000000',
  },
}
SCSS
$custom: #314d0c;
$custom-light: #6c7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#314d0c",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 85.846,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.09539,
    "h": 130.7
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#314D0C
secondary
#542C89
accent
#38F087
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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